Class GagawaAccessor
java.lang.Object
com.hp.gagawa.java.GagawaAccessor
Workaround to access protected objects from Gagawa, to work around bugs or missing features.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List<com.hp.gagawa.java.attributes.Attribute> getAttributes(com.hp.gagawa.java.Node node) Gets the list with all attributes of a node.static StringgetTag(com.hp.gagawa.java.Node node) Gets the tag name of a node.
-
Constructor Details
-
GagawaAccessor
public GagawaAccessor()
-
-
Method Details
-
getAttributes
public static List<com.hp.gagawa.java.attributes.Attribute> getAttributes(com.hp.gagawa.java.Node node) Gets the list with all attributes of a node.- Parameters:
node- Node with attributes to access.- Returns:
- The attribute list of the node.
-
getTag
Gets the tag name of a node.- Parameters:
node- Node with a tag.- Returns:
- The tag name of the node.
-