org.codehaus.stax2.validation.XMLValidator.getNotationAttrIndex()方法的使用及代码示例

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

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

XMLValidator.getNotationAttrIndex介绍

[英]Method for finding out the index of the attribute (collected using the attribute collector; having DTD/Schema-derived info in same order) that is of type NOTATION. DTD explicitly specifies that at most one attribute can have this type for any element.
[中]用于查找类型为NOTATION的属性(使用属性收集器收集;具有相同顺序的DTD/Schema派生信息)的索引的方法。DTD明确指定,对于任何元素,最多一个属性可以具有这种类型。

代码示例

代码示例来源:origin: org.codehaus.woodstox/woodstox-core-asl

/**
 * Default implementation just indicates it does not know of such
 * attributes; this because that requires DTD information that only
 * some implementations have.
 */
public final int getNotationAttributeIndex()
{
  return (mValidator == null) ? -1 :
    mValidator.getNotationAttrIndex();
}

代码示例来源:origin: com.fasterxml.woodstox/woodstox-core

/**
 * Default implementation just indicates it does not know of such
 * attributes; this because that requires DTD information that only
 * some implementations have.
 */
@Override
public final int getNotationAttributeIndex()
{
  return (mValidator == null) ? -1 :
    mValidator.getNotationAttrIndex();
}

代码示例来源:origin: woodstox/wstx-asl

public int getNotationAttrIndex()
{
  int index = mFirst.getNotationAttrIndex();
  if (index < 0) {
    return mSecond.getNotationAttrIndex();
  }
  return index;
}

代码示例来源:origin: woodstox/wstx-lgpl

/**
 * Default implementation just indicates it does not know of such
 * attributes; this because that requires DTD information that only
 * some implementations have.
 */
public final int getNotationAttributeIndex()
{
  return (mValidator == null) ? -1 :
    mValidator.getNotationAttrIndex();
}

代码示例来源:origin: woodstox/wstx-asl

/**
 * Default implementation just indicates it does not know of such
 * attributes; this because that requires DTD information that only
 * some implementations have.
 */
public final int getNotationAttributeIndex()
{
  return (mValidator == null) ? -1 :
    mValidator.getNotationAttrIndex();
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.woodstox

/**
 * Default implementation just indicates it does not know of such
 * attributes; this because that requires DTD information that only
 * some implementations have.
 */
public final int getNotationAttributeIndex()
{
  return (mValidator == null) ? -1 :
    mValidator.getNotationAttrIndex();
}

代码示例来源:origin: FasterXML/woodstox

/**
 * Default implementation just indicates it does not know of such
 * attributes; this because that requires DTD information that only
 * some implementations have.
 */
@Override
public final int getNotationAttributeIndex()
{
  return (mValidator == null) ? -1 :
    mValidator.getNotationAttrIndex();
}

代码示例来源:origin: org.codehaus.woodstox/woodstox-core-lgpl

/**
 * Default implementation just indicates it does not know of such
 * attributes; this because that requires DTD information that only
 * some implementations have.
 */
public final int getNotationAttributeIndex()
{
  return (mValidator == null) ? -1 :
    mValidator.getNotationAttrIndex();
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.woodstox

public int getNotationAttrIndex()
{
  int index = mFirst.getNotationAttrIndex();
  if (index < 0) {
    return mSecond.getNotationAttrIndex();
  }
  return index;
}

代码示例来源:origin: Nextdoor/bender

/**
 * Default implementation just indicates it does not know of such
 * attributes; this because that requires DTD information that only
 * some implementations have.
 */
@Override
public final int getNotationAttributeIndex()
{
  return (mValidator == null) ? -1 :
    mValidator.getNotationAttrIndex();
}

代码示例来源:origin: woodstox/wstx-lgpl

public int getNotationAttrIndex()
{
  int index = mFirst.getNotationAttrIndex();
  if (index < 0) {
    return mSecond.getNotationAttrIndex();
  }
  return index;
}

代码示例来源:origin: Nextdoor/bender

public int getNotationAttrIndex()
{
  int index = mFirst.getNotationAttrIndex();
  if (index < 0) {
    return mSecond.getNotationAttrIndex();
  }
  return index;
}

相关文章