Note: Methods that are passed an XMLString structure should consider the contents read-only and not make any modifications to the contents of the buffer. The method receiving this structure should also not modify the offset and length if this structure (or the values of this structure) are passed to another method.
Note: Methods that are passed an XMLString structure are required to copy the information out of the buffer if it is to be saved for use beyond the scope of the method. The contents of the structure are volatile and the contents of the character buffer cannot be assured once the method that is passed this structure returns. Therefore, methods passed this structure should not save any reference to the structure or the character array contained in the structure. @author Eric Ye, IBM @author Andy Clark, IBM
com.sun.org.apache.xml.internal.utils.FastStringBuffer
s, or other character data. By using XMLString, character copies can be reduced in the XML pipeline.
In a general case, text (PCDATA/attributes) that appear in XML schema cannot be correctly interpreted unless you also have in-scope namespace binding (a case in point is QName.) Therefore, it's convenient to handle the lexical representation and the in-scope namespace binding in a pair. @author Kohsuke Kawaguchi
In a general case, text (PCDATA/attributes) that appear in XML schema cannot be correctly interpreted unless you also have in-scope namespace binding (a case in point is QName.) Therefore, it's convenient to handle the lexical representation and the in-scope namespace binding in a pair. @author Kohsuke Kawaguchi
Note: Methods that are passed an XMLString structure should consider the contents read-only and not make any modifications to the contents of the buffer. The method receiving this structure should also not modify the offset and length if this structure (or the values of this structure) are passed to another method.
Note: Methods that are passed an XMLString structure are required to copy the information out of the buffer if it is to be saved for use beyond the scope of the method. The contents of the structure are volatile and the contents of the character buffer cannot be assured once the method that is passed this structure returns. Therefore, methods passed this structure should not save any reference to the structure or the character array contained in the structure. @author Eric Ye, IBM @author Andy Clark, IBM @version $Id: XMLString.java 447247 2006-09-18 05:23:52Z mrglavas $
Note: Methods that are passed an XMLString structure should consider the contents read-only and not make any modifications to the contents of the buffer. The method receiving this structure should also not modify the offset and length if this structure (or the values of this structure) are passed to another method.
Note: Methods that are passed an XMLString structure are required to copy the information out of the buffer if it is to be saved for use beyond the scope of the method. The contents of the structure are volatile and the contents of the character buffer cannot be assured once the method that is passed this structure returns. Therefore, methods passed this structure should not save any reference to the structure or the character array contained in the structure. @author Stubs generated by DesignDoc on Mon Sep 11 11:10:57 PDT 2000 @author Eric Ye @version $Id: XMLString.java,v 1.1.2.5 2000/10/12 00:17:32 andyc Exp $
org.apache.xml.utils.FastStringBuffer
s, or other character data. By using XMLString, character copies can be reduced in the XML pipeline.
A basic string in XML schema is not whitespace normalized. If you want your string type to be insensitive to variations in runs of whitespace, consider using xs:token (aka {@link XmlToken}) instead. To forbid whitespace and permit just alphanumeric and other common identifier characters consider xs:NMTOKEN (aka {@link XmlNMTOKEN}) instead.
Convertible to {@link String}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|