|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
oracle.xml.parser.schema.XSDConstants | +--oracle.xml.parser.schema.XSDParser
Constructor Summary |
XSDParser()
XSDParser constructor. |
Method Summary |
Type | Method |
---|---|
void |
cDATASection(char[] ch,
int start,
int length)
Receive notification of a CDATA Section. |
void |
characters(char[] ch,
int start,
int length)
Propagate notification of character data inside an element. |
void |
comment(java.lang.String data)
Receive notification of a comment. |
void |
endDoctype()
Propagate notification of end of the DTD. |
void |
endDocument()
Propagate notification of the end of the document. |
void |
endElement(NSName elem)
Receive notification of the end of an element. |
void |
endElement(java.lang.String name)
Propagate notification of the end of an element. |
XMLDocumentHandler |
getHandler()
Gets an XMLDocumentHandler object (next pipe-line handler) |
void |
ignorableWhitespace(char[] ch,
int start,
int length)
Propagates notification of ignorable whitespace in element content. |
void |
processingInstruction(java.lang.String target,
java.lang.String data)
Propagates notification of a processing instruction. |
void |
setDoctype(DTD dtd)
Receive notification of a DTD (Document Type node). |
void |
setDocumentLocator(Locator locator)
Propagates Locator object for document events. |
void |
setError(XMLError he)
Sets an XMLError object as current err. |
void |
setHandler(XMLDocumentHandler h)
Sets an XMLDocumentHandler object as next pipe-line handler. |
void |
setTextDecl(java.lang.String version,
java.lang.String encoding)
Receive notification of a Text XML Declaration. |
void |
setXMLDecl(java.lang.String version,
java.lang.String standalone,
java.lang.String encoding)
Receive notification of a XML Declaration. |
void |
setXMLSchema(java.lang.Object s)
Sets an XMLSchema object as current schema. |
void |
startDocument()
Propagate notification of the beginning of the document. |
void |
startElement(NSName elem,
SAXAttrList attrlist)
Propagate notification of the beginning of an element. |
void |
startElement(java.lang.String name,
AttributeList atts)
Propagate notification of the beginning of an element. |
Constructor Detail |
public XSDParser() throws XSDException
Method Detail |
public void setHandler(XMLDocumentHandler h) throws SAXException
h
- XMLDocumentHandler objec objectSAXException
could be thrown.public XMLDocumentHandler getHandler()
public void setError(XMLError he) throws SAXException
he
- XMLError objectSAXException
could be thrown.public void setXMLSchema(java.lang.Object s) throws SAXException
s
- XMLSchema objectSAXException
could be thrown.public void startElement(NSName elem, SAXAttrList attrlist) throws SAXException
elem
- NSName objectattrlist
- SAXAttrList for the elementSAXException
could be thrown.DocumentHandler.startElement(java.lang.String, org.xml.sax.AttributeList)
public void endElement(NSName elem) throws SAXException
elem
- NSName objectSAXException
could be thrown.DocumentHandler.endElement(java.lang.String)
public void characters(char[] ch, int start, int length) throws SAXException
ch
- The characters.start
- The start position in the character array.length
- The number of characters to use from the
character array.DocumentHandler.characters(char[], int, int)
public void startElement(java.lang.String name, AttributeList atts) throws SAXException
name
- The element type name.atts
- The attributes attached to the element, if any.public void endElement(java.lang.String name) throws SAXException
name
- The element type namepublic void setXMLDecl(java.lang.String version, java.lang.String standalone, java.lang.String encoding) throws SAXException
version
- The version numberstandalone
- The standalone value (or null, if not specifed)encoding
- The encoding name (or null, if not specifed)public void setTextDecl(java.lang.String version, java.lang.String encoding) throws SAXException
version
- The version number (or null, if not specified)encoding
- The encoding namepublic void comment(java.lang.String data) throws SAXException
data
- The comment data, or null if
none was supplied.public void cDATASection(char[] ch, int start, int length) throws SAXException
ch
- The CDATA section characters.start
- The start position in the character array.length
- The number of characters to use from the
character array.public void setDoctype(DTD dtd) throws SAXException
DTD
- The DTD nodepublic void endDoctype() throws SAXException
public void startDocument() throws SAXException
DocumentHandler.startDocument()
public void endDocument() throws SAXException
DocumentHandler.endDocument()
public void setDocumentLocator(Locator locator)
locator
- A locator for all SAX document events.DocumentHandler.setDocumentLocator(org.xml.sax.Locator)
,
Locator
public void processingInstruction(java.lang.String target, java.lang.String data) throws SAXException
target
- The processing instruction target.data
- The processing instruction data, or null if
none is supplied.public void ignorableWhitespace(char[] ch, int start, int length) throws SAXException
ch
- The whitespace characters.start
- The start position in the character array.length
- The number of characters to use from the
character array.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |