|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.spire.doc.documents.xml.XDLSReader
public class XDLSReader
| Constructor Summary | |
|---|---|
XDLSReader(com.spire.ms.System.Xml.XmlReader reader)
|
|
| Method Summary | |
|---|---|
void |
deserialize(IDocumentSerializable value)
|
IXDLSAttributeReader |
getAttributeReader()
Gets the attribute reader. |
java.lang.String |
getAttributeValue(java.lang.String name)
Gets the attribute value. |
com.spire.ms.System.Xml.XmlReader |
getInnerReader()
|
int |
getNodeType()
Gets the type of the node. |
java.lang.String |
getTagName()
Gets the name of the tag. |
boolean |
hasAttribute(java.lang.String name)
Determines whether the current node has attribute with specified name. |
boolean |
readBoolean(java.lang.String name)
Reads the boolean. |
byte |
readByte(java.lang.String name)
Reads the byte. |
byte[] |
readChildBinaryElement()
Reads the child binary element. |
java.lang.Object |
readChildElement(java.lang.Class type)
Reads the child element. |
boolean |
readChildElement(java.lang.Object value)
Reads the child element. |
java.lang.String |
readChildStringContent()
Reads the content of the child string. |
java.util.Date |
readDateTime(java.lang.String s)
Reads the date time. |
double |
readDouble(java.lang.String name)
Reads the double. |
long |
readEnum(java.lang.String name,
java.lang.Class enumType)
Reads the enum. |
float |
readFloat(java.lang.String name)
Reads the float. |
int |
readInt(java.lang.String name)
Reads the int. |
short |
readShort(java.lang.String name)
Reads the short. |
java.lang.String |
readString(java.lang.String name)
Reads the string. |
| Methods inherited from interface com.spire.doc.interfaces.IXDLSAttributeReader |
|---|
readColor |
| Constructor Detail |
|---|
public XDLSReader(com.spire.ms.System.Xml.XmlReader reader)
| Method Detail |
|---|
public void deserialize(IDocumentSerializable value)
public boolean hasAttribute(java.lang.String name)
IXDLSAttributeReader
hasAttribute in interface IXDLSAttributeReadername - the name.
public java.lang.String readString(java.lang.String name)
IXDLSAttributeReader
readString in interface IXDLSAttributeReadername - the name.
public int readInt(java.lang.String name)
IXDLSAttributeReader
readInt in interface IXDLSAttributeReadername - the name.
public short readShort(java.lang.String name)
IXDLSAttributeReader
readShort in interface IXDLSAttributeReadername - the name.
public double readDouble(java.lang.String name)
IXDLSAttributeReader
readDouble in interface IXDLSAttributeReadername - the name.
public float readFloat(java.lang.String name)
IXDLSAttributeReader
readFloat in interface IXDLSAttributeReadername - the name.
public boolean readBoolean(java.lang.String name)
IXDLSAttributeReader
readBoolean in interface IXDLSAttributeReadername - The name
public byte readByte(java.lang.String name)
IXDLSAttributeReader
readByte in interface IXDLSAttributeReadername - the name.
public long readEnum(java.lang.String name,
java.lang.Class enumType)
IXDLSAttributeReader
readEnum in interface IXDLSAttributeReadername - the name.enumType - type of the enum.
public java.util.Date readDateTime(java.lang.String s)
IXDLSAttributeReader
readDateTime in interface IXDLSAttributeReaders - the string
public java.lang.String getTagName()
IXDLSContentReader
getTagName in interface IXDLSContentReaderpublic int getNodeType()
IXDLSContentReader
getNodeType in interface IXDLSContentReaderpublic java.lang.String getAttributeValue(java.lang.String name)
IXDLSContentReader
getAttributeValue in interface IXDLSContentReadername - the name.
public boolean readChildElement(java.lang.Object value)
IXDLSContentReader
readChildElement in interface IXDLSContentReadervalue - the value
public java.lang.Object readChildElement(java.lang.Class type)
IXDLSContentReader
readChildElement in interface IXDLSContentReadertype - the type.
public java.lang.String readChildStringContent()
IXDLSContentReader
readChildStringContent in interface IXDLSContentReaderpublic byte[] readChildBinaryElement()
IXDLSContentReader
readChildBinaryElement in interface IXDLSContentReaderpublic com.spire.ms.System.Xml.XmlReader getInnerReader()
public IXDLSAttributeReader getAttributeReader()
IXDLSContentReader
getAttributeReader in interface IXDLSContentReader
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||