| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> |
| <title>XMLChar (Apache Axis2)</title> |
| <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="XMLChar (Apache Axis2)"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar_top"> |
| <!-- --> |
| </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/XMLChar.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../org/apache/axis2/util/WSDLSerializationUtil.html" title="class in org.apache.axis2.util"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../../../org/apache/axis2/util/XMLPrettyPrinter.html" title="class in org.apache.axis2.util"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/axis2/util/XMLChar.html" target="_top">Frames</a></li> |
| <li><a href="XMLChar.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field_summary">Field</a> | </li> |
| <li><a href="#constructor_summary">Constr</a> | </li> |
| <li><a href="#method_summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field_detail">Field</a> | </li> |
| <li><a href="#constructor_detail">Constr</a> | </li> |
| <li><a href="#method_detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip-navbar_top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.apache.axis2.util</div> |
| <h2 title="Class XMLChar" class="title">Class XMLChar</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.axis2.util.XMLChar</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <hr> |
| <br> |
| <pre>public class <span class="strong">XMLChar</span> |
| extends <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre> |
| <div class="block">This class defines the basic XML character properties. The data |
| in this class can be used to verify that a character is a valid |
| XML character or if the character is a space, name start, or name |
| character. |
| <p/> |
| A series of convenience methods are supplied to ease the burden |
| of the developer. Because inlining the checks can improve per |
| character performance, the tables of character properties are |
| public. Using the character as an index into the <code>CHARS</code> |
| array and applying the appropriate mask flag (e.g. |
| <code>MASK_VALID</code>), yields the same results as calling the |
| convenience methods. There is one exception: check the comments |
| for the <code>isValid</code> method for details.</div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field_summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> |
| <caption><span>Fields</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Field and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/util/XMLChar.html#MASK_CONTENT">MASK_CONTENT</a></strong></code> |
| <div class="block">Content character mask.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/util/XMLChar.html#MASK_NAME">MASK_NAME</a></strong></code> |
| <div class="block">Name character mask.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/util/XMLChar.html#MASK_NAME_START">MASK_NAME_START</a></strong></code> |
| <div class="block">Name start character mask.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/util/XMLChar.html#MASK_NCNAME">MASK_NCNAME</a></strong></code> |
| <div class="block">NCName character mask.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/util/XMLChar.html#MASK_NCNAME_START">MASK_NCNAME_START</a></strong></code> |
| <div class="block">NCName start character mask.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/util/XMLChar.html#MASK_PUBID">MASK_PUBID</a></strong></code> |
| <div class="block">Pubid character mask.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/util/XMLChar.html#MASK_SPACE">MASK_SPACE</a></strong></code> |
| <div class="block">Space character mask.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/util/XMLChar.html#MASK_VALID">MASK_VALID</a></strong></code> |
| <div class="block">Valid character mask.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor_summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><strong><a href="../../../../org/apache/axis2/util/XMLChar.html#XMLChar()">XMLChar</a></strong>()</code> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method_summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span>Methods</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static char</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/util/XMLChar.html#highSurrogate(int)">highSurrogate</a></strong>(int c)</code> |
| <div class="block">Returns the high surrogate of a supplemental character</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/util/XMLChar.html#isContent(int)">isContent</a></strong>(int c)</code> |
| <div class="block">Returns true if the specified character can be considered content.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/util/XMLChar.html#isHighSurrogate(int)">isHighSurrogate</a></strong>(int c)</code> |
| <div class="block">Returns whether the given character is a high surrogate</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/util/XMLChar.html#isInvalid(int)">isInvalid</a></strong>(int c)</code> |
| <div class="block">Returns true if the specified character is invalid.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/util/XMLChar.html#isLowSurrogate(int)">isLowSurrogate</a></strong>(int c)</code> |
| <div class="block">Returns whether the given character is a low surrogate</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/util/XMLChar.html#isMarkup(int)">isMarkup</a></strong>(int c)</code> |
| <div class="block">Returns true if the specified character can be considered markup.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/util/XMLChar.html#isName(int)">isName</a></strong>(int c)</code> |
| <div class="block">Returns true if the specified character is a valid name |
| character as defined by production [4] in the XML 1.0 |
| specification.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/util/XMLChar.html#isNameStart(int)">isNameStart</a></strong>(int c)</code> |
| <div class="block">Returns true if the specified character is a valid name start |
| character as defined by production [5] in the XML 1.0 |
| specification.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/util/XMLChar.html#isNCName(int)">isNCName</a></strong>(int c)</code> |
| <div class="block">Returns true if the specified character is a valid NCName |
| character as defined by production [5] in Namespaces in XML |
| recommendation.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/util/XMLChar.html#isNCNameStart(int)">isNCNameStart</a></strong>(int c)</code> |
| <div class="block">Returns true if the specified character is a valid NCName start |
| character as defined by production [4] in Namespaces in XML |
| recommendation.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/util/XMLChar.html#isPubid(int)">isPubid</a></strong>(int c)</code> |
| <div class="block">Returns true if the specified character is a valid Pubid |
| character as defined by production [13] in the XML 1.0 |
| specification.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/util/XMLChar.html#isSpace(int)">isSpace</a></strong>(int c)</code> |
| <div class="block">Returns true if the specified character is a space character |
| as defined by production [3] in the XML 1.0 specification.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/util/XMLChar.html#isSupplemental(int)">isSupplemental</a></strong>(int c)</code> |
| <div class="block">Returns true if the specified character is a supplemental character.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/util/XMLChar.html#isValid(int)">isValid</a></strong>(int c)</code> |
| <div class="block">Returns true if the specified character is valid.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/util/XMLChar.html#isValidIANAEncoding(java.lang.String)">isValidIANAEncoding</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> ianaEncoding)</code> |
| <div class="block">Returns true if the encoding name is a valid IANA encoding.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/util/XMLChar.html#isValidJavaEncoding(java.lang.String)">isValidJavaEncoding</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> javaEncoding)</code> |
| <div class="block">Returns true if the encoding name is a valid Java encoding.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/util/XMLChar.html#isValidName(java.lang.String)">isValidName</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code> |
| <div class="block">Check to see if a string is a valid Name according to [5] |
| in the XML 1.0 Recommendation</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/util/XMLChar.html#isValidNCName(java.lang.String)">isValidNCName</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> ncName)</code> |
| <div class="block">Check to see if a string is a valid NCName according to [4] |
| from the XML Namespaces 1.0 Recommendation</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/util/XMLChar.html#isValidNmtoken(java.lang.String)">isValidNmtoken</a></strong>(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> nmtoken)</code> |
| <div class="block">Check to see if a string is a valid Nmtoken according to [7] |
| in the XML 1.0 Recommendation</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/util/XMLChar.html#isXML11Space(int)">isXML11Space</a></strong>(int c)</code> |
| <div class="block">Returns true if the specified character is a space character |
| as amdended in the XML 1.1 specification.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static char</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/util/XMLChar.html#lowSurrogate(int)">lowSurrogate</a></strong>(int c)</code> |
| <div class="block">Returns the low surrogate of a supplemental character</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis2/util/XMLChar.html#supplemental(char, char)">supplemental</a></strong>(char h, |
| char l)</code> |
| <div class="block">Returns true the supplemental character corresponding to the given |
| surrogates.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> |
| <code><a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field_detail"> |
| <!-- --> |
| </a> |
| <h3>Field Detail</h3> |
| <a name="MASK_VALID"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>MASK_VALID</h4> |
| <pre>public static final int MASK_VALID</pre> |
| <div class="block">Valid character mask.</div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.axis2.util.XMLChar.MASK_VALID">Constant Field Values</a></dd></dl> |
| </li> |
| </ul> |
| <a name="MASK_SPACE"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>MASK_SPACE</h4> |
| <pre>public static final int MASK_SPACE</pre> |
| <div class="block">Space character mask.</div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.axis2.util.XMLChar.MASK_SPACE">Constant Field Values</a></dd></dl> |
| </li> |
| </ul> |
| <a name="MASK_NAME_START"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>MASK_NAME_START</h4> |
| <pre>public static final int MASK_NAME_START</pre> |
| <div class="block">Name start character mask.</div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.axis2.util.XMLChar.MASK_NAME_START">Constant Field Values</a></dd></dl> |
| </li> |
| </ul> |
| <a name="MASK_NAME"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>MASK_NAME</h4> |
| <pre>public static final int MASK_NAME</pre> |
| <div class="block">Name character mask.</div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.axis2.util.XMLChar.MASK_NAME">Constant Field Values</a></dd></dl> |
| </li> |
| </ul> |
| <a name="MASK_PUBID"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>MASK_PUBID</h4> |
| <pre>public static final int MASK_PUBID</pre> |
| <div class="block">Pubid character mask.</div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.axis2.util.XMLChar.MASK_PUBID">Constant Field Values</a></dd></dl> |
| </li> |
| </ul> |
| <a name="MASK_CONTENT"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>MASK_CONTENT</h4> |
| <pre>public static final int MASK_CONTENT</pre> |
| <div class="block">Content character mask. Special characters are those that can |
| be considered the start of markup, such as '<' and '&'. |
| The various newline characters are considered special as well. |
| All other valid XML characters can be considered content. |
| <p/> |
| This is an optimization for the inner loop of character scanning.</div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.axis2.util.XMLChar.MASK_CONTENT">Constant Field Values</a></dd></dl> |
| </li> |
| </ul> |
| <a name="MASK_NCNAME_START"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>MASK_NCNAME_START</h4> |
| <pre>public static final int MASK_NCNAME_START</pre> |
| <div class="block">NCName start character mask.</div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.axis2.util.XMLChar.MASK_NCNAME_START">Constant Field Values</a></dd></dl> |
| </li> |
| </ul> |
| <a name="MASK_NCNAME"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>MASK_NCNAME</h4> |
| <pre>public static final int MASK_NCNAME</pre> |
| <div class="block">NCName character mask.</div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.axis2.util.XMLChar.MASK_NCNAME">Constant Field Values</a></dd></dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor_detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="XMLChar()"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>XMLChar</h4> |
| <pre>public XMLChar()</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method_detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="isSupplemental(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isSupplemental</h4> |
| <pre>public static boolean isSupplemental(int c)</pre> |
| <div class="block">Returns true if the specified character is a supplemental character.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>c</code> - The character to check.</dd></dl> |
| </li> |
| </ul> |
| <a name="supplemental(char, char)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>supplemental</h4> |
| <pre>public static int supplemental(char h, |
| char l)</pre> |
| <div class="block">Returns true the supplemental character corresponding to the given |
| surrogates.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>h</code> - The high surrogate.</dd><dd><code>l</code> - The low surrogate.</dd></dl> |
| </li> |
| </ul> |
| <a name="highSurrogate(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>highSurrogate</h4> |
| <pre>public static char highSurrogate(int c)</pre> |
| <div class="block">Returns the high surrogate of a supplemental character</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>c</code> - The supplemental character to "split".</dd></dl> |
| </li> |
| </ul> |
| <a name="lowSurrogate(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>lowSurrogate</h4> |
| <pre>public static char lowSurrogate(int c)</pre> |
| <div class="block">Returns the low surrogate of a supplemental character</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>c</code> - The supplemental character to "split".</dd></dl> |
| </li> |
| </ul> |
| <a name="isHighSurrogate(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isHighSurrogate</h4> |
| <pre>public static boolean isHighSurrogate(int c)</pre> |
| <div class="block">Returns whether the given character is a high surrogate</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>c</code> - The character to check.</dd></dl> |
| </li> |
| </ul> |
| <a name="isLowSurrogate(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isLowSurrogate</h4> |
| <pre>public static boolean isLowSurrogate(int c)</pre> |
| <div class="block">Returns whether the given character is a low surrogate</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>c</code> - The character to check.</dd></dl> |
| </li> |
| </ul> |
| <a name="isValid(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isValid</h4> |
| <pre>public static boolean isValid(int c)</pre> |
| <div class="block">Returns true if the specified character is valid. This method |
| also checks the surrogate character range from 0x10000 to 0x10FFFF. |
| <p/> |
| If the program chooses to apply the mask directly to the |
| <code>CHARS</code> array, then they are responsible for checking |
| the surrogate character range.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>c</code> - The character to check.</dd></dl> |
| </li> |
| </ul> |
| <a name="isInvalid(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isInvalid</h4> |
| <pre>public static boolean isInvalid(int c)</pre> |
| <div class="block">Returns true if the specified character is invalid.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>c</code> - The character to check.</dd></dl> |
| </li> |
| </ul> |
| <a name="isContent(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isContent</h4> |
| <pre>public static boolean isContent(int c)</pre> |
| <div class="block">Returns true if the specified character can be considered content.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>c</code> - The character to check.</dd></dl> |
| </li> |
| </ul> |
| <a name="isMarkup(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isMarkup</h4> |
| <pre>public static boolean isMarkup(int c)</pre> |
| <div class="block">Returns true if the specified character can be considered markup. |
| Markup characters include '<', '&', and '%'.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>c</code> - The character to check.</dd></dl> |
| </li> |
| </ul> |
| <a name="isSpace(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isSpace</h4> |
| <pre>public static boolean isSpace(int c)</pre> |
| <div class="block">Returns true if the specified character is a space character |
| as defined by production [3] in the XML 1.0 specification.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>c</code> - The character to check.</dd></dl> |
| </li> |
| </ul> |
| <a name="isXML11Space(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isXML11Space</h4> |
| <pre>public static boolean isXML11Space(int c)</pre> |
| <div class="block">Returns true if the specified character is a space character |
| as amdended in the XML 1.1 specification.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>c</code> - The character to check.</dd></dl> |
| </li> |
| </ul> |
| <a name="isNameStart(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isNameStart</h4> |
| <pre>public static boolean isNameStart(int c)</pre> |
| <div class="block">Returns true if the specified character is a valid name start |
| character as defined by production [5] in the XML 1.0 |
| specification.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>c</code> - The character to check.</dd></dl> |
| </li> |
| </ul> |
| <a name="isName(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isName</h4> |
| <pre>public static boolean isName(int c)</pre> |
| <div class="block">Returns true if the specified character is a valid name |
| character as defined by production [4] in the XML 1.0 |
| specification.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>c</code> - The character to check.</dd></dl> |
| </li> |
| </ul> |
| <a name="isNCNameStart(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isNCNameStart</h4> |
| <pre>public static boolean isNCNameStart(int c)</pre> |
| <div class="block">Returns true if the specified character is a valid NCName start |
| character as defined by production [4] in Namespaces in XML |
| recommendation.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>c</code> - The character to check.</dd></dl> |
| </li> |
| </ul> |
| <a name="isNCName(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isNCName</h4> |
| <pre>public static boolean isNCName(int c)</pre> |
| <div class="block">Returns true if the specified character is a valid NCName |
| character as defined by production [5] in Namespaces in XML |
| recommendation.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>c</code> - The character to check.</dd></dl> |
| </li> |
| </ul> |
| <a name="isPubid(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isPubid</h4> |
| <pre>public static boolean isPubid(int c)</pre> |
| <div class="block">Returns true if the specified character is a valid Pubid |
| character as defined by production [13] in the XML 1.0 |
| specification.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>c</code> - The character to check.</dd></dl> |
| </li> |
| </ul> |
| <a name="isValidName(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isValidName</h4> |
| <pre>public static boolean isValidName(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</pre> |
| <div class="block">Check to see if a string is a valid Name according to [5] |
| in the XML 1.0 Recommendation</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - string to check</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>true if name is a valid Name</dd></dl> |
| </li> |
| </ul> |
| <a name="isValidNCName(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isValidNCName</h4> |
| <pre>public static boolean isValidNCName(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> ncName)</pre> |
| <div class="block">Check to see if a string is a valid NCName according to [4] |
| from the XML Namespaces 1.0 Recommendation</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>ncName</code> - string to check</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>true if name is a valid NCName</dd></dl> |
| </li> |
| </ul> |
| <a name="isValidNmtoken(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isValidNmtoken</h4> |
| <pre>public static boolean isValidNmtoken(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> nmtoken)</pre> |
| <div class="block">Check to see if a string is a valid Nmtoken according to [7] |
| in the XML 1.0 Recommendation</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>nmtoken</code> - string to check</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>true if nmtoken is a valid Nmtoken</dd></dl> |
| </li> |
| </ul> |
| <a name="isValidIANAEncoding(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isValidIANAEncoding</h4> |
| <pre>public static boolean isValidIANAEncoding(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> ianaEncoding)</pre> |
| <div class="block">Returns true if the encoding name is a valid IANA encoding. |
| This method does not verify that there is a decoder available |
| for this encoding, only that the characters are valid for an |
| IANA encoding name.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>ianaEncoding</code> - The IANA encoding name.</dd></dl> |
| </li> |
| </ul> |
| <a name="isValidJavaEncoding(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>isValidJavaEncoding</h4> |
| <pre>public static boolean isValidJavaEncoding(<a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> javaEncoding)</pre> |
| <div class="block">Returns true if the encoding name is a valid Java encoding. |
| This method does not verify that there is a decoder available |
| for this encoding, only that the characters are valid for an |
| Java encoding name.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>javaEncoding</code> - The Java encoding name.</dd></dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar_bottom"> |
| <!-- --> |
| </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/XMLChar.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../org/apache/axis2/util/WSDLSerializationUtil.html" title="class in org.apache.axis2.util"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../../../org/apache/axis2/util/XMLPrettyPrinter.html" title="class in org.apache.axis2.util"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/axis2/util/XMLChar.html" target="_top">Frames</a></li> |
| <li><a href="XMLChar.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field_summary">Field</a> | </li> |
| <li><a href="#constructor_summary">Constr</a> | </li> |
| <li><a href="#method_summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field_detail">Field</a> | </li> |
| <li><a href="#constructor_detail">Constr</a> | </li> |
| <li><a href="#method_detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip-navbar_bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Copyright © <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.</small></p> |
| </body> |
| </html> |