Class LightweightElement

java.lang.Object
eu.europa.ec.taxud.validation.reader.LightweightElement

public class LightweightElement extends Object
A class sharing some behaviour with a W3C Element, but without content.
  • Constructor Details

    • LightweightElement

      public LightweightElement(XMLStreamReader reader)
      Creates a lightweight element from the provided reader. This constructor doesn't consume any token from the reader.
      Parameters:
      reader - The reader to build the representation on.
  • Method Details

    • getLocalName

      public String getLocalName()
      Gets local name.
      Returns:
      the local name
    • getNamespaceURI

      public String getNamespaceURI()
      Gets namespace uri.
      Returns:
      the namespace uri
    • getAttribute

      public String getAttribute(String localName)
      Gets attribute.
      Parameters:
      localName - the local name
      Returns:
      the attribute