gpt4 book ai didi

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

转载 作者:知者 更新时间:2024-03-27 05:57:05 27 4
gpt4 key购买 nike

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

XMLValidator.getIdAttrIndex介绍

[英]Method for finding out the index of the attribute that is of type ID; derived from DTD, W4C Schema, or some other validation source. Usually schemas explicitly specifies that at most one attribute can have this type for any element.
[中]查找ID类型属性的索引的方法;派生自DTD、W4C模式或其他验证源。通常模式明确指定,对于任何元素,最多一个属性可以具有这种类型。

代码示例

代码示例来源: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 getIdAttributeIndex()
{
  if (mIdAttrIndex >= 0) {
    return mIdAttrIndex;
  }
  return (mValidator == null) ? -1 : mValidator.getIdAttrIndex();
}

代码示例来源: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 getIdAttributeIndex()
{
  if (mIdAttrIndex >= 0) {
    return mIdAttrIndex;
  }
  return (mValidator == null) ? -1 : mValidator.getIdAttrIndex();
}

代码示例来源: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 getIdAttributeIndex()
{
  if (mIdAttrIndex >= 0) {
    return mIdAttrIndex;
  }
  return (mValidator == null) ? -1 : mValidator.getIdAttrIndex();
}

代码示例来源: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 getIdAttributeIndex()
{
  if (mIdAttrIndex >= 0) {
    return mIdAttrIndex;
  }
  return (mValidator == null) ? -1 : mValidator.getIdAttrIndex();
}

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

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

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

public int getIdAttrIndex()
{
  int index = mFirst.getIdAttrIndex();
  if (index < 0) {
    return mSecond.getIdAttrIndex();
  }
  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 getIdAttributeIndex()
{
  if (mIdAttrIndex >= 0) {
    return mIdAttrIndex;
  }
  return (mValidator == null) ? -1 : mValidator.getIdAttrIndex();
}

代码示例来源: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 getIdAttributeIndex()
{
  if (mIdAttrIndex >= 0) {
    return mIdAttrIndex;
  }
  return (mValidator == null) ? -1 : mValidator.getIdAttrIndex();
}

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

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

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

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

代码示例来源: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 getIdAttributeIndex()
{
  if (mIdAttrIndex >= 0) {
    return mIdAttrIndex;
  }
  return (mValidator == null) ? -1 : mValidator.getIdAttrIndex();
}

代码示例来源: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 getIdAttributeIndex()
{
  if (mIdAttrIndex >= 0) {
    return mIdAttrIndex;
  }
  return (mValidator == null) ? -1 : mValidator.getIdAttrIndex();
}

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com