org.jboss.xb.binding.parser
Interface JBossXBParser
- All Known Implementing Classes:
- SaxJBossXBParser
public interface JBossXBParser
- Version:
- $Revision: 4825 $
- Author:
- Alexey Loubyansky
setWarnOnParserErrors
void setWarnOnParserErrors(boolean value)
- This property controls whether the (underlying) parser errors should be
logged as warnings or should they terminate parsing with errors.
The default is to terminate parsing by re-throwing parser errors.
getWarnOnParserErrors
boolean getWarnOnParserErrors()
- This property controls whether the (underlying) parser errors should be
logged as warnings or should they terminate parsing with errors.
The default is to terminate parsing by re-throwing parser errors.
- Returns:
- false if parser errors should be logged as warnings, otherwise - true
setEntityResolver
void setEntityResolver(EntityResolver entityResolver)
throws JBossXBException
- Throws:
JBossXBException
setProperty
void setProperty(String name,
Object value)
setFeature
void setFeature(String name,
boolean value)
parse
void parse(String source,
JBossXBParser.ContentHandler handler)
throws JBossXBException
- Throws:
JBossXBException
parse
void parse(InputStream is,
JBossXBParser.ContentHandler handler)
throws JBossXBException
- Throws:
JBossXBException
parse
void parse(Reader reader,
JBossXBParser.ContentHandler handler)
throws JBossXBException
- Throws:
JBossXBException
parse
void parse(InputSource source,
JBossXBParser.ContentHandler handler)
throws JBossXBException
- Throws:
JBossXBException
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.