本文整理了Java中javax.xml.parsers.SAXParser.getProperty()
方法的一些代码示例,展示了SAXParser.getProperty()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。SAXParser.getProperty()
方法的具体详情如下:
包路径:javax.xml.parsers.SAXParser
类名称:SAXParser
方法名:getProperty
[英]Returns the particular property requested for in the underlying implementation of org.xml.sax.XMLReader.
[中]返回在org的底层实现中请求的特定属性。xml。萨克斯。XMLReader。
代码示例来源:origin: jersey/jersey
@Override
public Object getProperty(String s) throws SAXNotRecognizedException, SAXNotSupportedException {
return sp.getProperty(s);
}
代码示例来源:origin: commons-digester/commons-digester
/**
* Return the current value of the specified property for the underlying
* <code>XMLReader</code> implementation.
* See <a href="http://www.saxproject.org">the saxproject website</a>
* for information about the standard SAX2 properties.
*
* @param property Property name to be retrieved
*
* @exception SAXNotRecognizedException if the property name is
* not recognized
* @exception SAXNotSupportedException if the property name is
* recognized but not supported
*/
public Object getProperty(String property)
throws SAXNotRecognizedException, SAXNotSupportedException {
return (getParser().getProperty(property));
}
代码示例来源:origin: apache/geode
bis.mark((Integer) parser.getProperty(BUFFER_SIZE) * 2);
parser.setProperty(JAXP_SCHEMA_LANGUAGE, XMLConstants.W3C_XML_SCHEMA_NS_URI);
parser.parse(bis, new DefaultHandlerDelegate(handler));
代码示例来源:origin: apache/tika
@Override
void reset() {
try {
Object object = saxParser.getProperty(XERCES_SECURITY_MANAGER_PROPERTY);
saxParser.reset();
saxParser.setProperty(XERCES_SECURITY_MANAGER_PROPERTY, object);
} catch (SAXException e) {
LOG.log(Level.WARNING, "problem resetting sax parser", e);
}
try {
XMLReader reader = saxParser.getXMLReader();
clearReader(reader);
} catch (SAXException e) {
}
}
}
代码示例来源:origin: com.atlassian.security/atlassian-secure-xml
@Override
public Object getProperty(String name) throws SAXNotRecognizedException, SAXNotSupportedException
{
return delegate.getProperty(name);
}
代码示例来源:origin: com.phloc/isorelax
/**
* @see SAXParser#getProperty(String)
*/
@Override
public Object getProperty (final String name) throws SAXNotRecognizedException, SAXNotSupportedException
{
return _WrappedParser.getProperty (name);
}
代码示例来源:origin: msv/msv
public Object getProperty( String name )
throws SAXNotRecognizedException, SAXNotSupportedException {
return core.getProperty(name);
}
代码示例来源:origin: com.eclipsesource.jaxrs/jersey-all
@Override
public Object getProperty(String s) throws SAXNotRecognizedException, SAXNotSupportedException {
return sp.getProperty(s);
}
代码示例来源:origin: org.wicketstuff.htmlvalidator/wicketstuff-isorelax
/**
* @see SAXParser#getProperty(String)
*/
public Object getProperty(String name) throws SAXNotRecognizedException, SAXNotSupportedException
{
return _WrappedParser.getProperty(name);
}
代码示例来源:origin: com.helger/ph-isorelax
/**
* @see SAXParser#getProperty(String)
*/
@Override
public Object getProperty (final String name) throws SAXNotRecognizedException, SAXNotSupportedException
{
return _WrappedParser.getProperty (name);
}
代码示例来源:origin: com.sun.xml.bind/jaxb1-impl
public Object getProperty( String name )
throws SAXNotRecognizedException, SAXNotSupportedException {
return core.getProperty(name);
}
代码示例来源:origin: org.glassfish.jersey.media/jersey-media-jaxb
@Override
public Object getProperty(String s) throws SAXNotRecognizedException, SAXNotSupportedException {
return sp.getProperty(s);
}
代码示例来源:origin: com.sun.xml.bind/jaxb-extra-osgi
public Object getProperty( String name )
throws SAXNotRecognizedException, SAXNotSupportedException {
return core.getProperty(name);
}
代码示例来源:origin: com.sun.jersey/jersey-bundle
@Override
public Object getProperty(String s) throws SAXNotRecognizedException, SAXNotSupportedException {
return sp.getProperty(s);
}
代码示例来源:origin: kohsuke/msv
public Object getProperty( String name )
throws SAXNotRecognizedException, SAXNotSupportedException {
return core.getProperty(name);
}
代码示例来源:origin: com.sun.xml.bind/jaxb-extra-osgi
public Object getProperty(String s)
throws SAXNotRecognizedException, SAXNotSupportedException {
return _WrappedParser.getProperty(s);
}
代码示例来源:origin: hstaudacher/osgi-jax-rs-connector
@Override
public Object getProperty(String s) throws SAXNotRecognizedException, SAXNotSupportedException {
return sp.getProperty(s);
}
代码示例来源:origin: hstaudacher/osgi-jax-rs-connector
@Override
public Object getProperty(String s) throws SAXNotRecognizedException, SAXNotSupportedException {
return sp.getProperty(s);
}
代码示例来源:origin: jersey/jersey-1.x
@Override
public Object getProperty(String s) throws SAXNotRecognizedException, SAXNotSupportedException {
return sp.getProperty(s);
}
代码示例来源:origin: org.apache.tika/tika-core
@Override
void reset() {
try {
Object object = saxParser.getProperty(XERCES_SECURITY_MANAGER);
saxParser.reset();
saxParser.setProperty(XERCES_SECURITY_MANAGER, object);
} catch (SAXException e) {
}
}
}
内容来源于网络,如有侵权,请联系作者删除!