| java.lang.Object org.xml.sax.helpers.DefaultHandler org.columba.core.xml.XmlIO
All known Subclasses: org.columba.core.config.DefaultXmlConfig,
Constructor Summary | |
public | XmlIO(URL url) | public | XmlIO() | public | XmlIO(XmlElement element) Creates a XmlIO object with the specified element at the top. |
XmlIO | public XmlIO(XmlElement element)(Code) | | Creates a XmlIO object with the specified element at the top.
Parameters: element - the element at the top. |
characters | public void characters(char[] ch, int start, int length) throws SAXException(Code) | | |
getRoot | public XmlElement getRoot()(Code) | | Returns the root for the XmlElement hiearchy. Note that this Xml Element
will always have the name __COLUMBA_XML_TREE_TOP__ .
Methods that want to retrieve elements from this root should use the
XmlElement.getElement(String) in order to get the wanted element.
a XmlElement if it has been loaded or initialized with it; nullotherwise. |
load | public boolean load()(Code) | | |
load | public boolean load(InputStream input)(Code) | | Loads from the InputStream into the root Xml Element.
Parameters: input - the input stream to load from. |
load | public boolean load(URL inputURL)(Code) | | Load a file. This is what starts things off.
Parameters: inputURL - the URL to load XML from. |
Methods inherited from org.xml.sax.helpers.DefaultHandler | public void characters(char ch, int start, int length) throws SAXException(Code)(Java Doc) public void endDocument() throws SAXException(Code)(Java Doc) public void endElement(String uri, String localName, String qName) throws SAXException(Code)(Java Doc) public void endPrefixMapping(String prefix) throws SAXException(Code)(Java Doc) public void error(SAXParseException e) throws SAXException(Code)(Java Doc) public void fatalError(SAXParseException e) throws SAXException(Code)(Java Doc) public void ignorableWhitespace(char ch, int start, int length) throws SAXException(Code)(Java Doc) public void notationDecl(String name, String publicId, String systemId) throws SAXException(Code)(Java Doc) public void processingInstruction(String target, String data) throws SAXException(Code)(Java Doc) public InputSource resolveEntity(String publicId, String systemId) throws IOException, SAXException(Code)(Java Doc) public void setDocumentLocator(Locator locator)(Code)(Java Doc) public void skippedEntity(String name) throws SAXException(Code)(Java Doc) public void startDocument() throws SAXException(Code)(Java Doc) public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException(Code)(Java Doc) public void startPrefixMapping(String prefix, String uri) throws SAXException(Code)(Java Doc) public void unparsedEntityDecl(String name, String publicId, String systemId, String notationName) throws SAXException(Code)(Java Doc) public void warning(SAXParseException e) throws SAXException(Code)(Java Doc)
|
|
|