|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.jeuclid.SAXBuilder
public class SAXBuilder
Generator for creating a MathElement tree from SAX events.
| Constructor Summary | |
|---|---|
SAXBuilder()
default constructor. |
|
| Method Summary | |
|---|---|
void |
characters(char[] ch,
int start,
int length)
Receive notification of character data. |
void |
endDocument()
Receive notification of the end of a document. |
void |
endElement(String namespaceURI,
String localName,
String qName)
Receive notification of the end of an element. |
void |
endPrefixMapping(String prefix)
End the scope of a prefix-URI mapping. |
DocumentElement |
getMathRootElement()
Returns the created math root element. |
void |
ignorableWhitespace(char[] ch,
int start,
int length)
Receive notification of ignorable whitespace in element content. |
void |
processingInstruction(String target,
String data)
Receive notification of a processing instruction. |
void |
setDocumentLocator(Locator locator)
Receive an object for locating the origin of SAX document events. |
void |
skippedEntity(String name)
Receive notification of a skipped entity. |
void |
startDocument()
Receive notification of the beginning of a document. |
void |
startElement(String namespaceURI,
String localName,
String qName,
Attributes attributes)
Receive notification of the beginning of an element. |
void |
startPrefixMapping(String prefix,
String uri)
Begin the scope of a prefix-URI Namespace mapping. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SAXBuilder()
| Method Detail |
|---|
public DocumentElement getMathRootElement()
public void characters(char[] ch,
int start,
int length)
characters in interface ContentHandlerch - The characters from the XML document.start - The start position in the array.length - The number of characters to read from the array.public void endDocument()
endDocument in interface ContentHandler
public void endElement(String namespaceURI,
String localName,
String qName)
endElement in interface ContentHandlernamespaceURI - The Namespace URI, or the empty string if the element has no
Namespace URI or if Namespace processing is not being
performed.localName - The local name (without prefix), or the empty string if
Namespace processing is not being performed.qName - The qualified XML 1.0 name (with prefix), or the empty
string if qualified names are not available.public void startDocument()
startDocument in interface ContentHandler
public void startElement(String namespaceURI,
String localName,
String qName,
Attributes attributes)
startElement in interface ContentHandlernamespaceURI - The Namespace URI, or the empty string if the element has no
Namespace URI or if Namespace processing is not being
performed.localName - The local name (without prefix), or the empty string if
Namespace processing is not being performed.qName - The qualified name (with prefix), or the empty string if
qualified names are not available.attributes - The attributes attached to the element. If there are no
attributes, it shall be an empty Attributes object.public void endPrefixMapping(String prefix)
endPrefixMapping in interface ContentHandlerprefix - Prefix
public void ignorableWhitespace(char[] ch,
int start,
int length)
ignorableWhitespace in interface ContentHandlerch - Space charstart - Start positionlength - Length
public void processingInstruction(String target,
String data)
processingInstruction in interface ContentHandlertarget - Targetdata - Datapublic void setDocumentLocator(Locator locator)
setDocumentLocator in interface ContentHandlerlocator - Locatorpublic void skippedEntity(String name)
skippedEntity in interface ContentHandlername - Entity name
public void startPrefixMapping(String prefix,
String uri)
startPrefixMapping in interface ContentHandlerprefix - Prefixuri - Uri
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||