|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jaxme.xs.XSParser
The XML schema parser.
Field Summary | |
static java.lang.String |
XML_SCHEMA_URI
The XML Schema URI: http://www.w3.org/2001/XMLSchema |
static java.lang.String |
XML_URI
The XML namespace URI: http://www.w3.org/XML/1998/namespace |
Constructor Summary | |
XSParser()
Creates a new instance of XSParser. |
Method Summary | |
XSContext |
getContext()
Provides access to the parsers internal data. |
static XSParser |
getRunningInstance()
Provides access to the currently running instance of XSParser . |
boolean |
isValidating()
Returns whether the parser is validating. |
XSSchema |
parse(org.xml.sax.InputSource pSource)
Parses the given XML schema and returns a logical representation. |
XsESchema |
parseSyntax(org.xml.sax.InputSource pSource)
Parses the given XML schema. and returns a syntactical representation. |
protected void |
setData(XSContext pData)
|
void |
setValidating(boolean pValidating)
Sets whether the parser is validating. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String XML_URI
The XML namespace URI: http://www.w3.org/XML/1998/namespace
public static final java.lang.String XML_SCHEMA_URI
The XML Schema URI: http://www.w3.org/2001/XMLSchema
Constructor Detail |
public XSParser()
Creates a new instance of XSParser.
Method Detail |
public void setValidating(boolean pValidating)
Sets whether the parser is validating.
public boolean isValidating()
Returns whether the parser is validating.
public XSContext getContext()
Provides access to the parsers internal data. Use the
getRunningInstance()
method to find the parser.
protected void setData(XSContext pData)
public XsESchema parseSyntax(org.xml.sax.InputSource pSource) throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException, java.io.IOException
Parses the given XML schema. and returns a syntactical representation.
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException
parse(InputSource)
public XSSchema parse(org.xml.sax.InputSource pSource) throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException, java.io.IOException
Parses the given XML schema and returns a logical representation.
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException
public static XSParser getRunningInstance()
Provides access to the currently running instance of XSParser
.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |