< prev index next >

src/jdk.xml.bind/share/classes/com/sun/xml/internal/rngom/ast/builder/SchemaBuilder.java

Print this page

        

@@ -109,45 +109,45 @@
     /**
      *
      * @param parent
      *      The parent scope. null if there's no parent scope.
      *      For example, if the complete document looks like the following:
-     *      <pre><xmp>
+     *      <pre>{@code
      *      <grammar>
      *        <start><element name="root"><empty/></element></start>
      *      </grammar>
-     *      </xmp></pre>
+     *      }</pre>
      *      Then when the outer-most {@link Grammar} is created, it will
-     *      receive the <tt>null</tt> parent.
+     *      receive the {@code null} parent.
      */
     Grammar<P,E,L,A,CL> makeGrammar(Scope<P,E,L,A,CL> parent);
 
     /**
      * Called when annotation is found right inside a pattern
      *
      * such as,
      *
-     * <pre><xmp>
+     * <pre>{@code
      * <element name="foo">     <!-- this becomes 'P' -->
      *   <foreign:annotation /> <!-- this becomes 'A' -->
      *   ...
      * </element>
-     * </xmp></pre>
+     * }</pre>
      */
     P annotate(P p, A anno) throws BuildException;
 
     /**
      * Called when element annotation is found after a pattern.
      *
      * such as,
      *
-     * <pre><xmp>
+     * <pre>{@code
      * <element name="foo">
      *   <empty />              <!-- this becomes 'P' -->
      *   <foreign:annotation /> <!-- this becomes 'E' -->
      * </element>
-     * </xmp></pre>
+     * }</pre>
      */
     P annotateAfter(P p, E e) throws BuildException;
 
     P commentAfter(P p, CL comments) throws BuildException;
 
< prev index next >