electric.xml.io
Interface IReader
- All Known Implementing Classes:
- EncodedReader, LiteralReader
- public interface IReader
IReader
- Author:
- webMethods
getVersion
public java.lang.String getVersion()
getDocument
public Document getDocument()
getElement
public Element getElement()
readElement
public Element readElement(java.lang.String name)
- Parameters:
name
-
readElements
public Elements readElements()
readElements
public Elements readElements(java.lang.String name)
- Parameters:
name
-
getUnreadElements
public Element[] getUnreadElements()
readName
public java.lang.String readName()
readAttribute
public Attribute readAttribute(java.lang.String name)
- Parameters:
name
-
readAttributeValue
public java.lang.String readAttributeValue(java.lang.String name)
- Parameters:
name
-
getReader
public IReader getReader(java.lang.String name)
- Parameters:
name
-
getReaderAt
public IReader getReaderAt(int index)
- Parameters:
index
-
getReaders
public IReader[] getReaders()
getReaders
public IReader[] getReaders(java.lang.String name)
- Parameters:
name
-
getRemainingReaders
public IReader[] getRemainingReaders()
readText
public java.lang.String readText()
readBoolean
public boolean readBoolean()
throws java.io.IOException
- Throws:
java.io.IOException
readBoolean
public boolean readBoolean(java.lang.String name)
throws java.io.IOException
- Parameters:
name
-
- Throws:
java.io.IOException
readByte
public byte readByte()
throws java.io.IOException
- Throws:
java.io.IOException
readByte
public byte readByte(java.lang.String name)
throws java.io.IOException
- Parameters:
name
-
- Throws:
java.io.IOException
readChar
public char readChar()
throws java.io.IOException
- Throws:
java.io.IOException
readChar
public char readChar(java.lang.String name)
throws java.io.IOException
- Parameters:
name
-
- Throws:
java.io.IOException
readShort
public short readShort()
throws java.io.IOException
- Throws:
java.io.IOException
readShort
public short readShort(java.lang.String name)
throws java.io.IOException
- Parameters:
name
-
- Throws:
java.io.IOException
readInt
public int readInt()
throws java.io.IOException
- Throws:
java.io.IOException
readInt
public int readInt(java.lang.String name)
throws java.io.IOException
- Parameters:
name
-
- Throws:
java.io.IOException
readLong
public long readLong()
throws java.io.IOException
- Throws:
java.io.IOException
readLong
public long readLong(java.lang.String name)
throws java.io.IOException
- Parameters:
name
-
- Throws:
java.io.IOException
readFloat
public float readFloat()
throws java.io.IOException
- Throws:
java.io.IOException
readFloat
public float readFloat(java.lang.String name)
throws java.io.IOException
- Parameters:
name
-
- Throws:
java.io.IOException
readDouble
public double readDouble()
throws java.io.IOException
- Throws:
java.io.IOException
readDouble
public double readDouble(java.lang.String name)
throws java.io.IOException
- Parameters:
name
-
- Throws:
java.io.IOException
readString
public java.lang.String readString()
readString
public java.lang.String readString(java.lang.String name)
throws java.io.IOException
- Parameters:
name
-
- Throws:
java.io.IOException
getType
public Type getType()
throws SchemaException
- Throws:
SchemaException
isNil
public boolean isNil()
readObject
public java.lang.Object readObject()
throws java.io.IOException
- Throws:
java.io.IOException
readObject
public java.lang.Object readObject(java.lang.String name)
throws java.io.IOException
- Parameters:
name
-
- Throws:
java.io.IOException
readObject
public java.lang.Object readObject(Type type)
throws java.io.IOException
- Parameters:
type
-
- Throws:
java.io.IOException
readObject
public java.lang.Object readObject(java.lang.Class type)
throws java.io.IOException
- Parameters:
type
-
- Throws:
java.io.IOException
readObject
public java.lang.Object readObject(java.lang.String name,
Type type)
throws java.io.IOException
- Parameters:
name
- type
-
- Throws:
java.io.IOException
readObject
public java.lang.Object readObject(java.lang.String name,
java.lang.Class type)
throws java.io.IOException
- Parameters:
name
- type
-
- Throws:
java.io.IOException
addObject
public void addObject(java.lang.String id,
java.lang.Object object)
- Parameters:
id
- object
-
getObject
public java.lang.Object getObject(java.lang.String id)
- Parameters:
id
-
readValue
public Value readValue()
throws java.io.IOException
- Throws:
java.io.IOException
readValue
public Value readValue(Type type)
throws java.io.IOException
- Parameters:
type
-
- Throws:
java.io.IOException
addProperty
public void addProperty(java.lang.String key,
java.lang.Object value)
- Parameters:
key
- value
-
getProperty
public java.lang.Object getProperty(java.lang.String key)
- Parameters:
key
-
copyright© 2001-2004 by webMethods All Rights Reserved.