本文整理了Java中org.apache.xml.serializer.utils.XML11Char.isXML11NameStart()
方法的一些代码示例,展示了XML11Char.isXML11NameStart()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XML11Char.isXML11NameStart()
方法的具体详情如下:
包路径:org.apache.xml.serializer.utils.XML11Char
类名称:XML11Char
方法名:isXML11NameStart
[英]Returns true if the specified character is a valid name start character as defined by production [4] in the XML 1.1 specification.
[中]如果指定的字符是XML 1.1规范中生产[4]定义的有效名称起始字符,则返回true。
代码示例来源:origin: robovm/robovm
int i = 1;
char ch = name.charAt(0);
if( !isXML11NameStart(ch) ) {
if ( length > 1 && isXML11NameHighSurrogate(ch) ) {
char ch2 = name.charAt(1);
if ( !XMLChar.isLowSurrogate(ch2) ||
!isXML11NameStart(XMLChar.supplemental(ch, ch2)) ) {
return false;
代码示例来源:origin: com.bugvm/bugvm-rt
int i = 1;
char ch = name.charAt(0);
if( !isXML11NameStart(ch) ) {
if ( length > 1 && isXML11NameHighSurrogate(ch) ) {
char ch2 = name.charAt(1);
if ( !XMLChar.isLowSurrogate(ch2) ||
!isXML11NameStart(XMLChar.supplemental(ch, ch2)) ) {
return false;
代码示例来源:origin: org.apache.xalan/com.springsource.org.apache.xml.serializer
int i = 1;
char ch = name.charAt(0);
if( !isXML11NameStart(ch) ) {
if ( length > 1 && isXML11NameHighSurrogate(ch) ) {
char ch2 = name.charAt(1);
if ( !XMLChar.isLowSurrogate(ch2) ||
!isXML11NameStart(XMLChar.supplemental(ch, ch2)) ) {
return false;
代码示例来源:origin: MobiVM/robovm
int i = 1;
char ch = name.charAt(0);
if( !isXML11NameStart(ch) ) {
if ( length > 1 && isXML11NameHighSurrogate(ch) ) {
char ch2 = name.charAt(1);
if ( !XMLChar.isLowSurrogate(ch2) ||
!isXML11NameStart(XMLChar.supplemental(ch, ch2)) ) {
return false;
代码示例来源:origin: com.mobidevelop.robovm/robovm-rt
int i = 1;
char ch = name.charAt(0);
if( !isXML11NameStart(ch) ) {
if ( length > 1 && isXML11NameHighSurrogate(ch) ) {
char ch2 = name.charAt(1);
if ( !XMLChar.isLowSurrogate(ch2) ||
!isXML11NameStart(XMLChar.supplemental(ch, ch2)) ) {
return false;
代码示例来源:origin: com.gluonhq/robovm-rt
int i = 1;
char ch = name.charAt(0);
if( !isXML11NameStart(ch) ) {
if ( length > 1 && isXML11NameHighSurrogate(ch) ) {
char ch2 = name.charAt(1);
if ( !XMLChar.isLowSurrogate(ch2) ||
!isXML11NameStart(XMLChar.supplemental(ch, ch2)) ) {
return false;
代码示例来源:origin: org.apache.karaf.bundles/org.apache.karaf.bundles.xalan-2.7.1
int i = 1;
char ch = name.charAt(0);
if( !isXML11NameStart(ch) ) {
if ( length > 1 && isXML11NameHighSurrogate(ch) ) {
char ch2 = name.charAt(1);
if ( !XMLChar.isLowSurrogate(ch2) ||
!isXML11NameStart(XMLChar.supplemental(ch, ch2)) ) {
return false;
代码示例来源:origin: FlexoVM/flexovm
int i = 1;
char ch = name.charAt(0);
if( !isXML11NameStart(ch) ) {
if ( length > 1 && isXML11NameHighSurrogate(ch) ) {
char ch2 = name.charAt(1);
if ( !XMLChar.isLowSurrogate(ch2) ||
!isXML11NameStart(XMLChar.supplemental(ch, ch2)) ) {
return false;
代码示例来源:origin: ibinti/bugvm
int i = 1;
char ch = name.charAt(0);
if( !isXML11NameStart(ch) ) {
if ( length > 1 && isXML11NameHighSurrogate(ch) ) {
char ch2 = name.charAt(1);
if ( !XMLChar.isLowSurrogate(ch2) ||
!isXML11NameStart(XMLChar.supplemental(ch, ch2)) ) {
return false;
代码示例来源:origin: xalan/serializer
int i = 1;
char ch = name.charAt(0);
if( !isXML11NameStart(ch) ) {
if ( length > 1 && isXML11NameHighSurrogate(ch) ) {
char ch2 = name.charAt(1);
if ( !XMLChar.isLowSurrogate(ch2) ||
!isXML11NameStart(XMLChar.supplemental(ch, ch2)) ) {
return false;
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.xalan
int i = 1;
char ch = name.charAt(0);
if( !isXML11NameStart(ch) ) {
if ( length > 1 && isXML11NameHighSurrogate(ch) ) {
char ch2 = name.charAt(1);
if ( !XMLChar.isLowSurrogate(ch2) ||
!isXML11NameStart(XMLChar.supplemental(ch, ch2)) ) {
return false;
内容来源于网络,如有侵权,请联系作者删除!