|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jsdai.lang.JsdaiLangAccessor jsdai.xml.InstanceWriter
This class is a way to write (create) JSDAI population from XML parsing events. It acts as XML contents handler and can be used in any environment which generates XML parsing events (eg. XML text file parsing).
Method Summary | |
void |
characters(char[] charArray,
int start,
int length)
Accepts notification about character events. |
void |
endDocument()
Accepts notification about document end events. |
void |
endElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName)
Accepts notification about element end events. |
void |
endPrefixMapping(java.lang.String prefix)
Skips notification about prefix mapping end events. |
void |
ignorableWhitespace(char[] charArray,
int start,
int length)
Skips notification about ignorable whitespace events. |
void |
processingInstruction(java.lang.String target,
java.lang.String data)
Skits notification about processing instruction events. |
void |
setDocumentLocator(org.xml.sax.Locator locator)
Ignores the document locator. |
void |
skippedEntity(java.lang.String name)
Skips notification about skipped entity events. |
void |
startDocument()
Accepts notification about document start events. |
void |
startElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes attr)
Accepts notification about element start events. |
void |
startPrefixMapping(java.lang.String prefix,
java.lang.String uri)
Skips notification about prefix mapping start events. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public void startElement(java.lang.String namespaceURI, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes attr) throws org.xml.sax.SAXException
startElement
in interface org.xml.sax.ContentHandler
namespaceURI
- The namespace URI. Namespace processing has to be
enabled in XML readerlocalName
- The local name (without prefix)qName
- The ignored qualified name (can be null)attr
- The attributes attached to the element
org.xml.sax.SAXException
- if SAX error occurspublic void endElement(java.lang.String namespaceURI, java.lang.String localName, java.lang.String qName) throws org.xml.sax.SAXException
endElement
in interface org.xml.sax.ContentHandler
namespaceURI
- The namespace URI. Namespace processing has to be
enabled in XML readerlocalName
- The local name (without prefix)qName
- The ignored qualified name (can be null)
org.xml.sax.SAXException
- if SAX error occurspublic void characters(char[] charArray, int start, int length) throws org.xml.sax.SAXException
characters
in interface org.xml.sax.ContentHandler
charArray
- The characters from the XML document.start
- The start position in the array.length
- The number of characters to read from the array.
org.xml.sax.SAXException
- if SAX error occurspublic void startDocument() throws org.xml.sax.SAXException
startDocument
in interface org.xml.sax.ContentHandler
org.xml.sax.SAXException
- if SAX error occurspublic void endDocument() throws org.xml.sax.SAXException
endDocument
in interface org.xml.sax.ContentHandler
org.xml.sax.SAXException
- if SAX error occurspublic void processingInstruction(java.lang.String target, java.lang.String data) throws org.xml.sax.SAXException
processingInstruction
in interface org.xml.sax.ContentHandler
target
- The processing instruction target.data
- The processing instruction data.
org.xml.sax.SAXException
public void startPrefixMapping(java.lang.String prefix, java.lang.String uri) throws org.xml.sax.SAXException
startPrefixMapping
in interface org.xml.sax.ContentHandler
prefix
- The Namespace prefix being declared.uri
- The Namespace URI the prefix is mapped to.
org.xml.sax.SAXException
public void endPrefixMapping(java.lang.String prefix) throws org.xml.sax.SAXException
endPrefixMapping
in interface org.xml.sax.ContentHandler
prefix
- The Namespace prefix being declared.
org.xml.sax.SAXException
- if an error occurspublic void setDocumentLocator(org.xml.sax.Locator locator)
setDocumentLocator
in interface org.xml.sax.ContentHandler
locator
- The document locatorpublic void ignorableWhitespace(char[] charArray, int start, int length) throws org.xml.sax.SAXException
ignorableWhitespace
in interface org.xml.sax.ContentHandler
charArray
- The characters from the XML document.start
- The start position in the array.length
- The number of characters to read from the array.
org.xml.sax.SAXException
public void skippedEntity(java.lang.String name) throws org.xml.sax.SAXException
skippedEntity
in interface org.xml.sax.ContentHandler
name
- The name of the skipped entity.
org.xml.sax.SAXException
|
Copyright © LKSoftWare GmbH, 1999-2008 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |