Class GagawaAccessor


  • public final class GagawaAccessor
    extends Object
    Workaround to access protected objects from Gagawa, to work around bugs or missing features.
    • Constructor Detail

      • GagawaAccessor

        public GagawaAccessor()
    • Method Detail

      • 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

        public static String getTag​(com.hp.gagawa.java.Node node)
        Gets the tag name of a node.
        Parameters:
        node - Node with a tag.
        Returns:
        The tag name of the node.