org.apache.xml.serializer.utils.XML11Char.isXML11NameStart()方法的使用及代码示例

x33g5p2x  于2022-02-03 转载在 其他  
字(3.5k)|赞(0)|评价(0)|浏览(162)

本文整理了Java中org.apache.xml.serializer.utils.XML11Char.isXML11NameStart()方法的一些代码示例,展示了XML11Char.isXML11NameStart()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XML11Char.isXML11NameStart()方法的具体详情如下:
包路径:org.apache.xml.serializer.utils.XML11Char
类名称:XML11Char
方法名:isXML11NameStart

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;

相关文章