com.ibm.etools.iseries.edit.xmllite
Class XmlLiteStore
java.lang.Object
com.ibm.etools.iseries.edit.xmllite.XmlLiteStore
public class XmlLiteStore
- extends Object
This class manages the loading, storing, parsing and creation of
the element tree.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
copyright
public static final String copyright
- See Also:
- Constant Field Values
_url
protected URL _url
_iMode
protected int _iMode
_reader
protected XmlLiteReader _reader
_strLine
protected String _strLine
_parserElementCurrent
protected XmlLiteElement _parserElementCurrent
_parserElementRoot
protected XmlLiteElement _parserElementRoot
_parserTextAttributeCurrent
protected XmlLiteAttribute _parserTextAttributeCurrent
_iLine
protected int _iLine
_iColumn
protected int _iColumn
_inputStream
protected InputStream _inputStream
_lineReader
protected LineNumberReader _lineReader
XmlLiteStore
public XmlLiteStore()
- Constructor.
createFile
public File createFile(URL url)
throws XmlLiteException
- Parameters:
url
- java.net.URL
- Returns:
- java.io.File
- Throws:
XmlLiteException
handleAttribute
protected void handleAttribute()
throws XmlLiteException
- Throws:
XmlLiteException
handleComment
protected void handleComment()
handleCommentStart
protected void handleCommentStart()
handleDoctype
protected void handleDoctype()
handleElement
protected void handleElement()
handleElementEnd
protected void handleElementEnd()
throws XmlLiteException
- Throws:
XmlLiteException
handleElementStart
protected void handleElementStart()
throws XmlLiteException
- Throws:
XmlLiteException
handleText
protected void handleText()
handleTextStart
protected void handleTextStart()
handleUnknown
protected void handleUnknown()
handleXml
protected void handleXml()
load
public boolean load(XmlLite lite,
URL url)
throws XmlLiteException
- Parameters:
strLog
- java.lang.String
- Throws:
XmlLiteException
processLine
protected void processLine()
throws XmlLiteException
- Throws:
XmlLiteException
save
public void save(XmlLite lite,
URL url)
throws XmlLiteException
- Attempts to write to the url connection's output stream. If this fails,
then attempts to write to a file.
- Throws:
XmlLiteException
saveAsFile
public void saveAsFile(XmlLite lite,
URL url)
throws XmlLiteException
- Parameters:
XmlLite
- url
- java.net.URL
- Throws:
XmlLiteException
Copyright © 2011 IBM Corp. All Rights Reserved.
Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.