ixdlsattributereader-ag凯发旗舰厅



com.spire.doc.interfaces
interface ixdlsattributereader


public interface ixdlsattributereader

summary description for ixdlsattributereader.


method summary
 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.
 java.awt.color readcolor(java.lang.string name)
          reads color from xml.
 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.
 
method detail

hasattribute

boolean hasattribute(java.lang.string name)
determines whether the current node has attribute with specified name.
parameters:
name - the name.
returns:
if has attribute with specified name, set to true.

readstring

java.lang.string readstring(java.lang.string name)
reads the string.
parameters:
name - the name.
returns:
the string

readint

int readint(java.lang.string name)
reads the int.
parameters:
name - the name.
returns:
the int

readshort

short readshort(java.lang.string name)
reads the short.
parameters:
name - the name.
returns:
the short

readfloat

float readfloat(java.lang.string name)
reads the float.
parameters:
name - the name.
returns:
the float

readdouble

double readdouble(java.lang.string name)
reads the double.
parameters:
name - the name.
returns:
the double

readboolean

boolean readboolean(java.lang.string name)
reads the boolean.
parameters:
name - the name
returns:
the boolean

readbyte

byte readbyte(java.lang.string name)
reads the byte.
parameters:
name - the name.
returns:
the byte

readenum

long readenum(java.lang.string name,
              java.lang.class enumtype)
reads the enum.
parameters:
name - the name.
enumtype - type of the enum.
returns:
the value of the enum

readcolor

java.awt.color readcolor(java.lang.string name)
reads color from xml.
parameters:
name - name of attribute.
returns:
color

readdatetime

java.util.date readdatetime(java.lang.string s)
reads the date time.
parameters:
s - the string
returns:
date


网站地图