blob: 72e1977f58e5a067346da0333c17e2b703ca222a [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>XMLChar (Apache Axis2)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
<script type="text/javascript" src="../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../jquery/jquery-3.3.1.js"></script>
<script type="text/javascript" src="../../../../jquery/jquery-migrate-3.0.1.js"></script>
<script type="text/javascript" src="../../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="XMLChar (Apache Axis2)";
}
}
catch(err) {
}
//-->
var data = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9,"i20":9,"i21":9};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../index.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" id="allclasses_navbar_top">
<li><a href="../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</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>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<!-- ======== START OF CLASS DATA ======== -->
<main role="main">
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">org.apache.axis2.util</a></div>
<h2 title="Class XMLChar" class="title">Class XMLChar</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">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>
<pre>public class <span class="typeNameLabel">XMLChar</span>
extends <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">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 =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Field</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#MASK_CONTENT">MASK_CONTENT</a></span></code></th>
<td class="colLast">
<div class="block">Content character mask.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#MASK_NAME">MASK_NAME</a></span></code></th>
<td class="colLast">
<div class="block">Name character mask.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#MASK_NAME_START">MASK_NAME_START</a></span></code></th>
<td class="colLast">
<div class="block">Name start character mask.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#MASK_NCNAME">MASK_NCNAME</a></span></code></th>
<td class="colLast">
<div class="block">NCName character mask.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#MASK_NCNAME_START">MASK_NCNAME_START</a></span></code></th>
<td class="colLast">
<div class="block">NCName start character mask.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#MASK_PUBID">MASK_PUBID</a></span></code></th>
<td class="colLast">
<div class="block">Pubid character mask.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#MASK_SPACE">MASK_SPACE</a></span></code></th>
<td class="colLast">
<div class="block">Space character mask.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#MASK_VALID">MASK_VALID</a></span></code></th>
<td class="colLast">
<div class="block">Valid character mask.</div>
</td>
</tr>
</table>
</li>
</ul>
</section>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E()">XMLChar</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
</li>
</ul>
</section>
<!-- ========== METHOD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>static char</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#highSurrogate(int)">highSurrogate</a></span>&#8203;(int&nbsp;c)</code></th>
<td class="colLast">
<div class="block">Returns the high surrogate of a supplemental character</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isContent(int)">isContent</a></span>&#8203;(int&nbsp;c)</code></th>
<td class="colLast">
<div class="block">Returns true if the specified character can be considered content.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isHighSurrogate(int)">isHighSurrogate</a></span>&#8203;(int&nbsp;c)</code></th>
<td class="colLast">
<div class="block">Returns whether the given character is a high surrogate</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isInvalid(int)">isInvalid</a></span>&#8203;(int&nbsp;c)</code></th>
<td class="colLast">
<div class="block">Returns true if the specified character is invalid.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isLowSurrogate(int)">isLowSurrogate</a></span>&#8203;(int&nbsp;c)</code></th>
<td class="colLast">
<div class="block">Returns whether the given character is a low surrogate</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isMarkup(int)">isMarkup</a></span>&#8203;(int&nbsp;c)</code></th>
<td class="colLast">
<div class="block">Returns true if the specified character can be considered markup.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isName(int)">isName</a></span>&#8203;(int&nbsp;c)</code></th>
<td class="colLast">
<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 id="i7" class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isNameStart(int)">isNameStart</a></span>&#8203;(int&nbsp;c)</code></th>
<td class="colLast">
<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 id="i8" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isNCName(int)">isNCName</a></span>&#8203;(int&nbsp;c)</code></th>
<td class="colLast">
<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 id="i9" class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isNCNameStart(int)">isNCNameStart</a></span>&#8203;(int&nbsp;c)</code></th>
<td class="colLast">
<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 id="i10" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isPubid(int)">isPubid</a></span>&#8203;(int&nbsp;c)</code></th>
<td class="colLast">
<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 id="i11" class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isSpace(int)">isSpace</a></span>&#8203;(int&nbsp;c)</code></th>
<td class="colLast">
<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 id="i12" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isSupplemental(int)">isSupplemental</a></span>&#8203;(int&nbsp;c)</code></th>
<td class="colLast">
<div class="block">Returns true if the specified character is a supplemental character.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isValid(int)">isValid</a></span>&#8203;(int&nbsp;c)</code></th>
<td class="colLast">
<div class="block">Returns true if the specified character is valid.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isValidIANAEncoding(java.lang.String)">isValidIANAEncoding</a></span>&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;ianaEncoding)</code></th>
<td class="colLast">
<div class="block">Returns true if the encoding name is a valid IANA encoding.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isValidJavaEncoding(java.lang.String)">isValidJavaEncoding</a></span>&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;javaEncoding)</code></th>
<td class="colLast">
<div class="block">Returns true if the encoding name is a valid Java encoding.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isValidName(java.lang.String)">isValidName</a></span>&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;name)</code></th>
<td class="colLast">
<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 id="i17" class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isValidNCName(java.lang.String)">isValidNCName</a></span>&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;ncName)</code></th>
<td class="colLast">
<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 id="i18" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isValidNmtoken(java.lang.String)">isValidNmtoken</a></span>&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;nmtoken)</code></th>
<td class="colLast">
<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 id="i19" class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isXML11Space(int)">isXML11Space</a></span>&#8203;(int&nbsp;c)</code></th>
<td class="colLast">
<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 id="i20" class="altColor">
<td class="colFirst"><code>static char</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#lowSurrogate(int)">lowSurrogate</a></span>&#8203;(int&nbsp;c)</code></th>
<td class="colLast">
<div class="block">Returns the low surrogate of a supplemental character</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#supplemental(char,char)">supplemental</a></span>&#8203;(char&nbsp;h,
char&nbsp;l)</code></th>
<td class="colLast">
<div class="block">Returns true the supplemental character corresponding to the given
surrogates.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang" class="externalLink">clone</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang" class="externalLink">equals</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang" class="externalLink">finalize</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang" class="externalLink">hashCode</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang" class="externalLink">toString</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink">wait</a></code></li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a id="MASK_VALID">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MASK_VALID</h4>
<pre>public static final&nbsp;int MASK_VALID</pre>
<div class="block">Valid character mask.</div>
<dl>
<dt><span class="seeLabel">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 id="MASK_SPACE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MASK_SPACE</h4>
<pre>public static final&nbsp;int MASK_SPACE</pre>
<div class="block">Space character mask.</div>
<dl>
<dt><span class="seeLabel">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 id="MASK_NAME_START">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MASK_NAME_START</h4>
<pre>public static final&nbsp;int MASK_NAME_START</pre>
<div class="block">Name start character mask.</div>
<dl>
<dt><span class="seeLabel">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 id="MASK_NAME">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MASK_NAME</h4>
<pre>public static final&nbsp;int MASK_NAME</pre>
<div class="block">Name character mask.</div>
<dl>
<dt><span class="seeLabel">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 id="MASK_PUBID">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MASK_PUBID</h4>
<pre>public static final&nbsp;int MASK_PUBID</pre>
<div class="block">Pubid character mask.</div>
<dl>
<dt><span class="seeLabel">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 id="MASK_CONTENT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MASK_CONTENT</h4>
<pre>public static final&nbsp;int MASK_CONTENT</pre>
<div class="block">Content character mask. Special characters are those that can
be considered the start of markup, such as '&lt;' and '&amp;'.
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="seeLabel">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 id="MASK_NCNAME_START">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MASK_NCNAME_START</h4>
<pre>public static final&nbsp;int MASK_NCNAME_START</pre>
<div class="block">NCName start character mask.</div>
<dl>
<dt><span class="seeLabel">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 id="MASK_NCNAME">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>MASK_NCNAME</h4>
<pre>public static final&nbsp;int MASK_NCNAME</pre>
<div class="block">NCName character mask.</div>
<dl>
<dt><span class="seeLabel">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>
</section>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a id="&lt;init&gt;()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>XMLChar</h4>
<pre>public&nbsp;XMLChar()</pre>
</li>
</ul>
</li>
</ul>
</section>
<!-- ============ METHOD DETAIL ========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a id="isSupplemental(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isSupplemental</h4>
<pre class="methodSignature">public static&nbsp;boolean&nbsp;isSupplemental&#8203;(int&nbsp;c)</pre>
<div class="block">Returns true if the specified character is a supplemental character.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>c</code> - The character to check.</dd>
</dl>
</li>
</ul>
<a id="supplemental(char,char)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>supplemental</h4>
<pre class="methodSignature">public static&nbsp;int&nbsp;supplemental&#8203;(char&nbsp;h,
char&nbsp;l)</pre>
<div class="block">Returns true the supplemental character corresponding to the given
surrogates.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>h</code> - The high surrogate.</dd>
<dd><code>l</code> - The low surrogate.</dd>
</dl>
</li>
</ul>
<a id="highSurrogate(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>highSurrogate</h4>
<pre class="methodSignature">public static&nbsp;char&nbsp;highSurrogate&#8203;(int&nbsp;c)</pre>
<div class="block">Returns the high surrogate of a supplemental character</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>c</code> - The supplemental character to "split".</dd>
</dl>
</li>
</ul>
<a id="lowSurrogate(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lowSurrogate</h4>
<pre class="methodSignature">public static&nbsp;char&nbsp;lowSurrogate&#8203;(int&nbsp;c)</pre>
<div class="block">Returns the low surrogate of a supplemental character</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>c</code> - The supplemental character to "split".</dd>
</dl>
</li>
</ul>
<a id="isHighSurrogate(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isHighSurrogate</h4>
<pre class="methodSignature">public static&nbsp;boolean&nbsp;isHighSurrogate&#8203;(int&nbsp;c)</pre>
<div class="block">Returns whether the given character is a high surrogate</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>c</code> - The character to check.</dd>
</dl>
</li>
</ul>
<a id="isLowSurrogate(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isLowSurrogate</h4>
<pre class="methodSignature">public static&nbsp;boolean&nbsp;isLowSurrogate&#8203;(int&nbsp;c)</pre>
<div class="block">Returns whether the given character is a low surrogate</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>c</code> - The character to check.</dd>
</dl>
</li>
</ul>
<a id="isValid(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isValid</h4>
<pre class="methodSignature">public static&nbsp;boolean&nbsp;isValid&#8203;(int&nbsp;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="paramLabel">Parameters:</span></dt>
<dd><code>c</code> - The character to check.</dd>
</dl>
</li>
</ul>
<a id="isInvalid(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isInvalid</h4>
<pre class="methodSignature">public static&nbsp;boolean&nbsp;isInvalid&#8203;(int&nbsp;c)</pre>
<div class="block">Returns true if the specified character is invalid.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>c</code> - The character to check.</dd>
</dl>
</li>
</ul>
<a id="isContent(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isContent</h4>
<pre class="methodSignature">public static&nbsp;boolean&nbsp;isContent&#8203;(int&nbsp;c)</pre>
<div class="block">Returns true if the specified character can be considered content.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>c</code> - The character to check.</dd>
</dl>
</li>
</ul>
<a id="isMarkup(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isMarkup</h4>
<pre class="methodSignature">public static&nbsp;boolean&nbsp;isMarkup&#8203;(int&nbsp;c)</pre>
<div class="block">Returns true if the specified character can be considered markup.
Markup characters include '&lt;', '&amp;', and '%'.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>c</code> - The character to check.</dd>
</dl>
</li>
</ul>
<a id="isSpace(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isSpace</h4>
<pre class="methodSignature">public static&nbsp;boolean&nbsp;isSpace&#8203;(int&nbsp;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="paramLabel">Parameters:</span></dt>
<dd><code>c</code> - The character to check.</dd>
</dl>
</li>
</ul>
<a id="isXML11Space(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isXML11Space</h4>
<pre class="methodSignature">public static&nbsp;boolean&nbsp;isXML11Space&#8203;(int&nbsp;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="paramLabel">Parameters:</span></dt>
<dd><code>c</code> - The character to check.</dd>
</dl>
</li>
</ul>
<a id="isNameStart(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isNameStart</h4>
<pre class="methodSignature">public static&nbsp;boolean&nbsp;isNameStart&#8203;(int&nbsp;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="paramLabel">Parameters:</span></dt>
<dd><code>c</code> - The character to check.</dd>
</dl>
</li>
</ul>
<a id="isName(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isName</h4>
<pre class="methodSignature">public static&nbsp;boolean&nbsp;isName&#8203;(int&nbsp;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="paramLabel">Parameters:</span></dt>
<dd><code>c</code> - The character to check.</dd>
</dl>
</li>
</ul>
<a id="isNCNameStart(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isNCNameStart</h4>
<pre class="methodSignature">public static&nbsp;boolean&nbsp;isNCNameStart&#8203;(int&nbsp;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="paramLabel">Parameters:</span></dt>
<dd><code>c</code> - The character to check.</dd>
</dl>
</li>
</ul>
<a id="isNCName(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isNCName</h4>
<pre class="methodSignature">public static&nbsp;boolean&nbsp;isNCName&#8203;(int&nbsp;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="paramLabel">Parameters:</span></dt>
<dd><code>c</code> - The character to check.</dd>
</dl>
</li>
</ul>
<a id="isPubid(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isPubid</h4>
<pre class="methodSignature">public static&nbsp;boolean&nbsp;isPubid&#8203;(int&nbsp;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="paramLabel">Parameters:</span></dt>
<dd><code>c</code> - The character to check.</dd>
</dl>
</li>
</ul>
<a id="isValidName(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isValidName</h4>
<pre class="methodSignature">public static&nbsp;boolean&nbsp;isValidName&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;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="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - string to check</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if name is a valid Name</dd>
</dl>
</li>
</ul>
<a id="isValidNCName(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isValidNCName</h4>
<pre class="methodSignature">public static&nbsp;boolean&nbsp;isValidNCName&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;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="paramLabel">Parameters:</span></dt>
<dd><code>ncName</code> - string to check</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if name is a valid NCName</dd>
</dl>
</li>
</ul>
<a id="isValidNmtoken(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isValidNmtoken</h4>
<pre class="methodSignature">public static&nbsp;boolean&nbsp;isValidNmtoken&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;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="paramLabel">Parameters:</span></dt>
<dd><code>nmtoken</code> - string to check</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if nmtoken is a valid Nmtoken</dd>
</dl>
</li>
</ul>
<a id="isValidIANAEncoding(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isValidIANAEncoding</h4>
<pre class="methodSignature">public static&nbsp;boolean&nbsp;isValidIANAEncoding&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;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="paramLabel">Parameters:</span></dt>
<dd><code>ianaEncoding</code> - The IANA encoding name.</dd>
</dl>
</li>
</ul>
<a id="isValidJavaEncoding(java.lang.String)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>isValidJavaEncoding</h4>
<pre class="methodSignature">public static&nbsp;boolean&nbsp;isValidJavaEncoding&#8203;(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;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="paramLabel">Parameters:</span></dt>
<dd><code>javaEncoding</code> - The Java encoding name.</dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
</div>
</main>
<!-- ========= END OF CLASS DATA ========= -->
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../index.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" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses.html">All&nbsp;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>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
<p class="legalCopy"><small>Copyright &copy; <a href="https://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.</small></p>
</footer>
</body>
</html>