Package org.fugerit.java.core.xml.sax
Class XMLFactorySAX
- java.lang.Object
-
- org.fugerit.java.core.xml.sax.XMLFactorySAX
-
public class XMLFactorySAX extends Object
-
-
Field Summary
Fields Modifier and Type Field Description SAXParserFactory
factory
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getFeature(String name)
boolean
isNamespaceAware()
boolean
isValidating()
static SAXParser
makeSAXParser(boolean val, boolean nsa)
static XMLFactorySAX
newInstance()
static XMLFactorySAX
newInstance(boolean validating)
static XMLFactorySAX
newInstance(boolean validating, boolean namespaceAware)
SAXParser
newSAXParser()
XMLValidator
newXMLValidator()
XMLValidator
newXMLValidator(EntityResolver er)
void
setFeature(String name, boolean value)
void
setNamespaceAware(boolean nsa)
void
setValidating(boolean val)
-
-
-
Field Detail
-
factory
public SAXParserFactory factory
-
-
Method Detail
-
newXMLValidator
public XMLValidator newXMLValidator() throws XMLException
- Throws:
XMLException
-
newXMLValidator
public XMLValidator newXMLValidator(EntityResolver er) throws XMLException
- Throws:
XMLException
-
makeSAXParser
public static SAXParser makeSAXParser(boolean val, boolean nsa) throws XMLException
- Throws:
XMLException
-
newSAXParser
public SAXParser newSAXParser() throws XMLException
- Throws:
XMLException
-
newInstance
public static XMLFactorySAX newInstance() throws XMLException
- Throws:
XMLException
-
newInstance
public static XMLFactorySAX newInstance(boolean validating) throws XMLException
- Throws:
XMLException
-
newInstance
public static XMLFactorySAX newInstance(boolean validating, boolean namespaceAware) throws XMLException
- Throws:
XMLException
-
setValidating
public void setValidating(boolean val)
-
setNamespaceAware
public void setNamespaceAware(boolean nsa)
-
setFeature
public void setFeature(String name, boolean value) throws XMLException
- Throws:
XMLException
-
isValidating
public boolean isValidating()
-
isNamespaceAware
public boolean isNamespaceAware()
-
getFeature
public boolean getFeature(String name) throws XMLException
- Throws:
XMLException
-
-