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