/** * Write a common header, including the package name, the class * declaration, and the opening curly brace. * Prints javadoc from WSDL documentation. (Cannot pull up, type DOM not avail) */ protected void writeFileHeader(PrintWriter pw) throws IOException { writeHeaderComments(pw); writePackage(pw); try { String comments = SchemaUtils.getAnnotationDocumentation(type.getNode()); comments = getJavadocDescriptionPart(comments, false); if (comments != null && comments.trim().length() > 0) { pw.println(); pw.println("/**"); pw.println(comments); pw.println(" */"); } } catch (DOMException e) { // no comment } // print class declaration pw.println(getClassModifiers() + getClassText() + getClassName() + ' ' + getExtendsText() + getImplementsText() + "{"); } // writeFileHeader
/** * Write a common header, including the package name, the class * declaration, and the opening curly brace. * Prints javadoc from WSDL documentation. (Cannot pull up, type DOM not avail) */ protected void writeFileHeader(PrintWriter pw) throws IOException { writeHeaderComments(pw); writePackage(pw); try { String comments = SchemaUtils.getAnnotationDocumentation(type.getNode()); comments = getJavadocDescriptionPart(comments, false); if (comments != null && comments.trim().length() > 0) { pw.println(); pw.println("/**"); pw.println(comments); pw.println(" */"); } } catch (DOMException e) { // no comment } // print class declaration pw.println(getClassModifiers() + getClassText() + getClassName() + ' ' + getExtendsText() + getImplementsText() + "{"); } // writeFileHeader
/** * Write a common header, including the package name, the class * declaration, and the opening curly brace. * Prints javadoc from WSDL documentation. (Cannot pull up, type DOM not avail) */ protected void writeFileHeader(PrintWriter pw) throws IOException { writeHeaderComments(pw); writePackage(pw); try { String comments = SchemaUtils.getAnnotationDocumentation(type.getNode()); comments = getJavadocDescriptionPart(comments, false); if (comments != null && comments.trim().length() > 0) { pw.println(); pw.println("/**"); pw.println(comments); pw.println(" */"); } } catch (DOMException e) { // no comment } // print class declaration pw.println(getClassModifiers() + getClassText() + getClassName() + ' ' + getExtendsText() + getImplementsText() + "{"); } // writeFileHeader
BooleanHolder forElement = new BooleanHolder(); String comments = null; comments = getAnnotationDocumentation(elementNode);
BooleanHolder forElement = new BooleanHolder(); String comments = null; comments = getAnnotationDocumentation(elementNode);
BooleanHolder forElement = new BooleanHolder(); String comments = null; comments = getAnnotationDocumentation(elementNode);