| java.lang.Object csdl.jblanket.app.tree.NodeContentHandler
NodeContentHandler | public class NodeContentHandler implements ContentHandler(Code) | | Handles the content of an XML file as it is encountered by the SAX parser for the exclude
individual methods application.
NOTE: Method descriptions taken from org.xml.sax.ContentHandler.
author: Joy M. Agustin version: $Id: NodeContentHandler.java,v 1.1 2004/11/07 00:32:40 timshadel Exp $ |
Method Summary | |
public void | characters(char[] chars, int start, int length) Processes notification of character data -- not implemented. | public void | endDocument() Processes notification of the end of a document -- not implemented. | public void | endElement(String namespaceURI, String localName, String qName) Processes notification of the end of an element. | public void | endPrefixMapping(String prefix) Processes end of the scope of a prefix-URI mapping. | public void | ignorableWhitespace(char[] chars, int start, int length) Processes notification of ignorable whitespace in element content -- not implemented. | public void | processingInstruction(String target, String data) Processes notification of a processing instruction -- not implemented. | public void | setDocumentLocator(Locator locator) Processes an object for locating the origin of SAX document events. | public void | skippedEntity(String name) Processes notification of a skipped entity -- not implemented. | public void | startDocument() Processes notification of the beginning of a document - not implememented. | public void | startElement(String namespaceURI, String localName, String qName, Attributes atts) Processes notification of the beginning of an element. | public void | startPrefixMapping(String prefix, String uri) Processes begin of the scope of a prefix-URI Namespace mapping. |
NodeContentHandler | public NodeContentHandler(DefaultTreeModel tree, String methodCategory)(Code) | | Constructs a new NodeContentHandler object.
Parameters: tree - reference to the tree that will be built from the contents of an XML file. Parameters: methodCategory - the category of methods being processed. |
characters | public void characters(char[] chars, int start, int length) throws SAXException(Code) | | Processes notification of character data -- not implemented.
Parameters: chars - the characters making up the data within the element. Parameters: start - the starting index of characters. Parameters: length - the number of characters in chars . throws: SAXException - if any SAX error occurs. |
endDocument | public void endDocument() throws SAXException(Code) | | Processes notification of the end of a document -- not implemented.
throws: SAXException - if any SAX error occurs. |
endElement | public void endElement(String namespaceURI, String localName, String qName) throws SAXException(Code) | | Processes notification of the end of an element.
Parameters: namespaceURI - namespace URI of current element in context wrt document's complete set ofnamespaces. Parameters: localName - local, unprefixed name of current element. Parameters: qName - unmodified, unchanged name of current element. throws: SAXException - if any SAX error occurs. |
endPrefixMapping | public void endPrefixMapping(String prefix) throws SAXException(Code) | | Processes end of the scope of a prefix-URI mapping.
Parameters: prefix - the prefix that was being mapped. throws: SAXException - if any SAX error occurs. |
ignorableWhitespace | public void ignorableWhitespace(char[] chars, int start, int length) throws SAXException(Code) | | Processes notification of ignorable whitespace in element content -- not implemented.
Parameters: chars - the characters making up the data within the element. Parameters: start - the starting index of characters. Parameters: length - the number of characters in chars . throws: SAXException - if any SAX error occurs. |
processingInstruction | public void processingInstruction(String target, String data) throws SAXException(Code) | | Processes notification of a processing instruction -- not implemented.
Parameters: target - the processing instruction target. Parameters: data - the processing instruction data, or null if none was supplied. throws: SAXException - if any SAX error occurs. |
setDocumentLocator | public void setDocumentLocator(Locator locator)(Code) | | Processes an object for locating the origin of SAX document events.
Parameters: locator - an object that can return the location of any SAX document event. |
skippedEntity | public void skippedEntity(String name) throws SAXException(Code) | | Processes notification of a skipped entity -- not implemented.
Parameters: name - the name of the skipped entry. throws: SAXException - if any SAX error occurs. |
startDocument | public void startDocument() throws SAXException(Code) | | Processes notification of the beginning of a document - not implememented.
throws: SAXException - if any SAX error occurs. |
startElement | public void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException(Code) | | Processes notification of the beginning of an element.
Parameters: namespaceURI - namespace URI of current element in context wrt document's complete set ofnamespaces. Parameters: localName - local, unprefixed name of current element. Parameters: qName - unmodified, unchanged name of current element. Parameters: atts - reference to all of the attributes within current element. throws: SAXException - if any SAX error occurs. |
startPrefixMapping | public void startPrefixMapping(String prefix, String uri) throws SAXException(Code) | | Processes begin of the scope of a prefix-URI Namespace mapping.
Parameters: prefix - the namespace prefix being declared. Parameters: uri - the namespace URI the prefix is mapped to. throws: SAXException - if any SAX error occurs. |
|
|