Package org.daisy.braille.pef
Class Element
- java.lang.Object
-
- org.daisy.braille.pef.Element
-
public class Element extends java.lang.Object
Provides an XML element data object.- Author:
- Joel HÃ¥kansson
-
-
Constructor Summary
Constructors Constructor Description Element(java.lang.String uri, java.lang.String localName, java.util.Map<java.lang.String,java.lang.String> attributes)
Creates a new Element
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.String>
getAttributes()
Gets this element's attributesjava.lang.String
getLocalName()
Gets this elements local namejava.lang.String
getUri()
Gets this element's namespace uri
-
-
-
Constructor Detail
-
Element
public Element(java.lang.String uri, java.lang.String localName, java.util.Map<java.lang.String,java.lang.String> attributes)
Creates a new Element- Parameters:
uri
- the namespace uri for the elementlocalName
- the local name for the elementattributes
- the attributes for the element
-
-
Method Detail
-
getUri
public java.lang.String getUri()
Gets this element's namespace uri- Returns:
- returns this element's namespace uri
-
getLocalName
public java.lang.String getLocalName()
Gets this elements local name- Returns:
- returns this element's local name
-
getAttributes
public java.util.Map<java.lang.String,java.lang.String> getAttributes()
Gets this element's attributes- Returns:
- returns this element's attributes
-
-