xmlstreamparser
Class HttpNode
java.lang.Object
xmlstreamparser.HttpNode
public class HttpNode
- extends java.lang.Object
Http node
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
childs
public java.util.Vector childs
attributes
public java.util.Hashtable attributes
name
public java.lang.String name
value
public java.lang.String value
HttpNode
public HttpNode()
getNextCharacter
public int getNextCharacter()
throws java.lang.Exception
- Throws:
java.lang.Exception
parse
public void parse(java.lang.String stBuff,
java.io.InputStream s)
throws java.lang.Exception
- Throws:
java.lang.Exception
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
getValue
public java.lang.String getValue()
setValue
public void setValue(java.lang.String value)
hasChild
public boolean hasChild(java.lang.String n)
hasValueOfChild
public boolean hasValueOfChild(java.lang.String n)
childValue
public java.lang.String childValue(java.lang.String n)
child
public HttpNode child(java.lang.String n)
getAttr
public java.lang.String getAttr(java.lang.String a)
toString
public java.lang.String toString(int level)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getChilds
public java.util.Vector getChilds()
- Returns:
- Returns the childs.
setChilds
public void setChilds(java.util.Vector childs)
- Parameters:
childs
- The childs to set.