org.xml.sax.helpers.XMLFilterImpl.getProperty()方法的使用及代码示例

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

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

XMLFilterImpl.getProperty介绍

[英]Look up the value of a property.
[中]查一下房产的价值。

代码示例

代码示例来源:origin: igniterealtime/Openfire

@Override
public Object getProperty(String name) throws SAXNotRecognizedException, SAXNotSupportedException {
  for (int i = 0; i < LEXICAL_HANDLER_NAMES.length; i++) {
    if (LEXICAL_HANDLER_NAMES[i].equals(name)) {
      return getLexicalHandler();
    }
  }
  return super.getProperty(name);
}

代码示例来源:origin: org.dom4j/dom4j

public Object getProperty(String name) throws SAXNotRecognizedException,
    SAXNotSupportedException {
  for (String lexicalHandlerName : LEXICAL_HANDLER_NAMES) {
    if (lexicalHandlerName.equals(name)) {
      return getLexicalHandler();
    }
  }
  return super.getProperty(name);
}

代码示例来源:origin: banq/jdonframework

/**
 * Look up the value of a property.
 *
 * @param name The property name.
 * @return The current value of the property.
 * @exception org.xml.sax.SAXNotRecognizedException When the
 *            XMLReader does not recognize the feature name.
 * @exception org.xml.sax.SAXNotSupportedException When the
 *            XMLReader recognizes the property name but
 *            cannot determine its value at this time.
 * @see org.xml.sax.XMLReader#setFeature
 */
public Object getProperty (String name)
throws SAXNotRecognizedException, SAXNotSupportedException
{
  for (int i = 0; i < LEXICAL_HANDLER_NAMES.length; i++) {
    if (LEXICAL_HANDLER_NAMES[i].equals(name)) {
      return getLexicalHandler();
    }
  }
  return super.getProperty(name);
}

代码示例来源:origin: org.wikimodel/org.wikimodel.wem

@Override
public Object getProperty(String name)
  throws SAXNotRecognizedException,
  SAXNotSupportedException {
  if (SAX_LEXICAL_HANDLER_PROPERTY.equals(name)) {
    return this.lexicalHandler;
  } else {
    return super.getProperty(name);
  }
}

代码示例来源:origin: com.github.livesense/org.liveSense.service.xssRemove

/**
 * Processes property {@link #DEXSS_CHANGE_LISTENER} directly; other properties are referred to the superclass.
 * @param name property name
 * @return property value
 * @throws SAXNotRecognizedException, SAXNotSupportedException
 */
public Object getProperty(String name) throws SAXNotRecognizedException, SAXNotSupportedException {
 if (name.equals(DEXSS_CHANGE_LISTENER))
  return xssChangeListener;
 else
  return super.getProperty(name);
}

代码示例来源:origin: org.igniterealtime.openfire/xmppserver

@Override
public Object getProperty(String name) throws SAXNotRecognizedException, SAXNotSupportedException {
  for (int i = 0; i < LEXICAL_HANDLER_NAMES.length; i++) {
    if (LEXICAL_HANDLER_NAMES[i].equals(name)) {
      return getLexicalHandler();
    }
  }
  return super.getProperty(name);
}

代码示例来源:origin: org.jenkins-ci.dom4j/dom4j

public Object getProperty(String name) throws SAXNotRecognizedException,
    SAXNotSupportedException {
  for (int i = 0; i < LEXICAL_HANDLER_NAMES.length; i++) {
    if (LEXICAL_HANDLER_NAMES[i].equals(name)) {
      return getLexicalHandler();
    }
  }
  return super.getProperty(name);
}

代码示例来源:origin: dom4j/dom4j

public Object getProperty(String name) throws SAXNotRecognizedException,
    SAXNotSupportedException {
  for (String lexicalHandlerName : LEXICAL_HANDLER_NAMES) {
    if (lexicalHandlerName.equals(name)) {
      return getLexicalHandler();
    }
  }
  return super.getProperty(name);
}

代码示例来源:origin: maven/dom4j

public Object getProperty(String name) throws SAXNotRecognizedException,
    SAXNotSupportedException {
  for (int i = 0; i < LEXICAL_HANDLER_NAMES.length; i++) {
    if (LEXICAL_HANDLER_NAMES[i].equals(name)) {
      return getLexicalHandler();
    }
  }
  return super.getProperty(name);
}

代码示例来源:origin: org.dom4j/org.motechproject.org.dom4j

public Object getProperty(String name) throws SAXNotRecognizedException,
    SAXNotSupportedException {
  for (int i = 0; i < LEXICAL_HANDLER_NAMES.length; i++) {
    if (LEXICAL_HANDLER_NAMES[i].equals(name)) {
      return getLexicalHandler();
    }
  }
  return super.getProperty(name);
}

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

public Object getProperty(String name) throws SAXNotRecognizedException,
    SAXNotSupportedException {
  for (int i = 0; i < LEXICAL_HANDLER_NAMES.length; i++) {
    if (LEXICAL_HANDLER_NAMES[i].equals(name)) {
      return getLexicalHandler();
    }
  }
  return super.getProperty(name);
}

代码示例来源:origin: org.dom4j/com.springsource.org.dom4j

public Object getProperty(String name) throws SAXNotRecognizedException,
    SAXNotSupportedException {
  for (int i = 0; i < LEXICAL_HANDLER_NAMES.length; i++) {
    if (LEXICAL_HANDLER_NAMES[i].equals(name)) {
      return getLexicalHandler();
    }
  }
  return super.getProperty(name);
}

代码示例来源:origin: com.alibaba.citrus.tool/antx-autoexpand

public Object getProperty(String name) throws SAXNotRecognizedException,
    SAXNotSupportedException {
  for (int i = 0; i < LEXICAL_HANDLER_NAMES.length; i++) {
    if (LEXICAL_HANDLER_NAMES[i].equals(name)) {
      return getLexicalHandler();
    }
  }
  return super.getProperty(name);
}

代码示例来源:origin: apache/servicemix-bundles

public Object getProperty(String name) throws SAXNotRecognizedException,
    SAXNotSupportedException {
  for (String lexicalHandlerName : LEXICAL_HANDLER_NAMES) {
    if (lexicalHandlerName.equals(name)) {
      return getLexicalHandler();
    }
  }
  return super.getProperty(name);
}

相关文章

微信公众号

最新文章

更多