| java.lang.Object com.completex.objective.components.persistency.io.xml.impl.XmlDomStream com.completex.objective.components.persistency.io.xml.impl.XmlPersistentObjectInputStream
XmlPersistentObjectInputStream | public class XmlPersistentObjectInputStream extends XmlDomStream implements PoObjectInput(Code) | | Implementation of PoObjectInput interface. The stream is not thread safe.
author: Gennady Krizhevsky |
Inner Class :static interface ValueTransformer | |
Inner Class :class DefaultValueTransformer implements ValueTransformer | |
Inner Class :class PoValueTransformer implements ValueTransformer | |
Inner Class :class CollectionValueTransformer extends DefaultValueTransformer | |
Inner Class :class ExtTypeTransformer extends DefaultValueTransformer | |
Inner Class :protected static class CurrentContexts | |
Inner Class :protected static class CurrentContext | |
Method Summary | |
protected void | addToReferences(Object value, String idString) | public int | available() | protected void | beginReadDescendant(Element parentNode) | public void | close() | protected Document | createDocument(DocumentBuilder builder) | protected CurrentContext | extractContext() | protected String | getAttributeByName(Node node, String tagName, boolean assertExist) | protected Node | getFirstChildByTagName(Element parentNode, String tagPo, boolean assertExists) | protected Node[] | getNodesByName(Node parentNode, String tagName, int type, boolean assertExists) | protected Node[] | getValueNodes(Node parentNode) | protected void | init() | protected boolean | isReadDescendant() | public int | read() The method does not comply with the interface specification. | public int | read(byte b) | public int | read(byte b, int off, int len) | public boolean | readBoolean() The method does not comply with the interface specification. | public byte | readByte() The method does not comply with the interface specification. | public char | readChar() The method does not comply with the interface specification. | protected void | readChildLink(Element[] linkNodes, int i, LinkedHashMap children) | protected void | readChildLinkResult(Element linkNode, Link link) | protected Collection | readCollection(Element collectionNode) | protected void | readCollectionElements(Element linkElement, Collection collection) | protected CollectionTracer | readCollectionTracer(Element collectionNode, CollectionTraceable traceable) | protected void | readComplexChildren(Node poNode, PersistentObject persistentObject) | protected void | readCompoundChildren(Node poNode, PersistentObject persistentObject) | public double | readDouble() The method does not comply with the interface specification. | protected Object | readExtType(Element childNode) | public float | readFloat() The method does not comply with the interface specification. | public void | readFully(byte b) | public void | readFully(byte b, int off, int len) | public int | readInt() The method does not comply with the interface specification. | public String | readLine() | protected void | readLinks(Element[] linkNodes, PersistentObject persistentObject) | public long | readLong() The method does not comply with the interface specification. | public Object | readObject() Read and return an object. | protected Object | readObject(CurrentContext context, Element childNode, boolean descendant) | protected PersistentObject | readPersistentObject(Element poNode) | protected void | readRecord(Node poNode, PersistentObject persistentObject) | public short | readShort() The method does not comply with the interface specification. | public String | readUTF() | public int | readUnsignedByte() The method does not comply with the interface specification. | public int | readUnsignedShort() The method does not comply with the interface specification. | protected Element | resolveParentElement() | protected Object | resolveRefValue(ValueTransformer valueTransformer) | protected void | setupRootElement() | public long | skip(long n) | public int | skipBytes(int n) | protected Object | string2unknownBinary(String valueString) | protected Object | string2value(String className, String valueString, boolean binary) | protected Object | string2value(PersistentObject persistentObject, int idx, String valueString, Node valueNode, boolean origValue) |
EMPTY_INDEX | final public static int EMPTY_INDEX(Code) | | |
contexts | protected CurrentContexts contexts(Code) | | |
beginReadDescendant | protected void beginReadDescendant(Element parentNode)(Code) | | |
extractContext | protected CurrentContext extractContext()(Code) | | |
getFirstChildByTagName | protected Node getFirstChildByTagName(Element parentNode, String tagPo, boolean assertExists)(Code) | | |
getNodesByName | protected Node[] getNodesByName(Node parentNode, String tagName, int type, boolean assertExists)(Code) | | |
init | protected void init()(Code) | | |
isReadDescendant | protected boolean isReadDescendant()(Code) | | |
read | public int read() throws IOException(Code) | | The method does not comply with the interface specification.
It reads the next object as byte
the byte read. exception: IOException - If an I/O error has occurred or if the object is not byte |
readBoolean | public boolean readBoolean() throws IOException(Code) | | The method does not comply with the interface specification.
It reads the next object as boolean.
the byte read. exception: IOException - If an I/O error has occurred or if the object is not boolean. |
readByte | public byte readByte() throws IOException(Code) | | The method does not comply with the interface specification.
It reads the next object as byte
the byte read. exception: IOException - If an I/O error has occurred or if the object is not byte |
readChar | public char readChar() throws IOException(Code) | | The method does not comply with the interface specification.
It reads the next object as char
the byte read. exception: IOException - If an I/O error has occurred or if the object is not char |
readChildLinkResult | protected void readChildLinkResult(Element linkNode, Link link)(Code) | | |
readDouble | public double readDouble() throws IOException(Code) | | The method does not comply with the interface specification.
It reads the next object as double
the byte read. exception: IOException - If an I/O error has occurred or if the object is not double |
readFloat | public float readFloat() throws IOException(Code) | | The method does not comply with the interface specification.
It reads the next object as float
the byte read. exception: IOException - If an I/O error has occurred or if the object is not float |
readFully | public void readFully(byte b, int off, int len) throws IOException(Code) | | Unsupported
|
readInt | public int readInt() throws IOException(Code) | | The method does not comply with the interface specification.
It reads the next object as int.
the byte read. exception: IOException - If an I/O error has occurred or if the object is not int. |
readLong | public long readLong() throws IOException(Code) | | The method does not comply with the interface specification.
It reads the next object as long.
the byte read. exception: IOException - If an I/O error has occurred or if the object is not long. |
readObject | protected Object readObject(CurrentContext context, Element childNode, boolean descendant)(Code) | | |
readShort | public short readShort() throws IOException(Code) | | The method does not comply with the interface specification.
It reads the next object as short.
the byte read. exception: IOException - If an I/O error has occurred or if the object is not short. |
readUnsignedByte | public int readUnsignedByte() throws IOException(Code) | | The method does not comply with the interface specification.
It reads the next object as byte.
the byte read. exception: IOException - If an I/O error has occurred or if the object is not byte. |
readUnsignedShort | public int readUnsignedShort() throws IOException(Code) | | The method does not comply with the interface specification.
It reads the next object as short.
the byte read. exception: IOException - If an I/O error has occurred or if the object is not short. |
resolveParentElement | protected Element resolveParentElement()(Code) | | |
resolveRefValue | protected Object resolveRefValue(ValueTransformer valueTransformer)(Code) | | |
setupRootElement | protected void setupRootElement()(Code) | | |
|
|