메소드 | 설명 | |
---|---|---|
GetAttribute ( String name ) : InputNode |
Because the
|
|
GetNext ( ) : InputNode | ||
GetNext ( String name ) : InputNode | ||
InputAttribute ( InputNode parent, Attribute attribute ) : System |
Constructor for the
|
|
InputAttribute ( InputNode parent, String name, String value ) : System |
Constructor for the
|
|
IsElement ( ) : bool |
This is used to determine if this node is an element. This node instance can not be an element so this method returns false. Returning null tells the users of this node that any attributes added to the node map will be permenantly lost.
|
|
IsEmpty ( ) : bool |
This is used to determine if this input node is empty. An empty node is one with no attributes or children. This can be used to determine if a given node represents an empty entity, with which no extra data can be extracted.
|
|
IsRoot ( ) : bool | ||
Skip ( ) : void |
This method is used to skip all child elements from this element. This allows elements to be effectively skipped such that when parsing a document if an element is not required then that element can be completely removed from the XML.
|
|
ToString ( ) : String |
This is the string representation of the attribute. It is used for debugging purposes. When evaluating the attribute the to string can be used to print out the attribute name.
|
public GetNext ( String name ) : InputNode | ||
name | String | /// this is the name of the next expected element /// |
리턴 | InputNode |
public InputAttribute ( InputNode parent, Attribute attribute ) : System | ||
parent | InputNode | /// this is the parent node to this attribute /// |
attribute | Attribute | /// this is the attribute containing the details /// |
리턴 | System |
public InputAttribute ( InputNode parent, String name, String value ) : System | ||
parent | InputNode | /// this is the parent node to this attribute /// |
name | String | /// this is the name for this attribute object /// |
value | String | /// this is the value for this attribute object /// |
리턴 | System |