< prev index next >
src/jdk.xml.bind/share/classes/com/sun/tools/internal/jxc/gen/config/NGCCRuntime.java
Print this page
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
@@ -48,10 +48,11 @@
* <li>Keep track of all Attributes.
*
* <li>manage mapping between namespace URIs and prefixes.
*
* <li>TODO: provide support for interleaving.
+ * </ol>
* <p><b>
* Auto-generated, do not edit.
* </b></p>
* @version $Id: NGCCRuntime.java,v 1.15 2002/09/29 02:55:48 okajima Exp $
* @author Kohsuke Kawaguchi (kk@kohsuke.org)
@@ -68,11 +69,11 @@
* <p>
* This method can be called right after the object is created
* or the reset method is called. You can't replace the root
* handler while parsing is in progress.
* <p>
- * Usually a generated class that corresponds to the <start>
+ * Usually a generated class that corresponds to the {@code <start>}
* pattern will be used as the root handler, but any NGCCHandler
* can be a root handler.
*
* @exception IllegalStateException
* If this method is called but it doesn't satisfy the
@@ -163,32 +164,32 @@
*
* <p>
* Whitespace handling is a tricky business. Consider the following
* schema fragment:
*
- * <pre>{@code
+ * <xmp>
* <element name="foo">
* <choice>
* <element name="bar"><empty/></element>
* <text/>
* </choice>
* </element>
- * }</pre>
+ * </xmp>
*
* Assume we hit the following instance:
- * <pre>{@code
+ * <xmp>
* <foo> <bar/></foo>
- * }</pre>
+ * </xmp>
*
* Then this first space needs to be ignored (for otherwise, we will
* end up treating this space as the match to <text/> and won't
* be able to process <bar>.)
*
* Now assume the following instance:
- * <pre>{@code
+ * <xmp>
* <foo/>
- * }</pre>
+ * </xmp>
*
* This time, we need to treat this empty string as a text, for
* otherwise we won't be able to accept this instance.
*
* <p>
@@ -481,20 +482,20 @@
/**
* Index on the namespaces array, which points to
* the top of the effective bindings. Because of the
* timing difference between the startPrefixMapping method
* and the execution of the corresponding actions,
- * this value can be different from {@code namespaces.size()}.
+ * this value can be different from <code>namespaces.size()</code>.
* <p>
* For example, consider the following schema:
- * <pre>{@code
+ * <pre><xmp>
* <oneOrMore>
* <element name="foo"><empty/></element>
* </oneOrMore>
* code fragment X
* <element name="bob"/>
- * }</pre>
+ * </xmp></pre>
* Code fragment X is executed after we see a startElement event,
* but at this time the namespaces variable already include new
* namespace bindings declared on "bob".
*/
private int nsEffectivePtr=0;
< prev index next >