com.googlecode.jinahya.el
Class ELElement

java.lang.Object
  extended by com.googlecode.jinahya.el.ELNode
      extended by com.googlecode.jinahya.el.ELElement

public class ELElement
extends ELNode

Element.

Author:
Jin Kwon

Field Summary
protected  Map<String,ELAttribute> attributes
          attributes.
protected  List<ELElement> elements
          elements.
protected  String text
          text.
 
Fields inherited from class com.googlecode.jinahya.el.ELNode
localName, namespaceURI
 
Constructor Summary
ELElement(String namesapceURI, String localName)
          Creates a new instance.
 
Method Summary
 Set<String> getNamespaceURIs()
          Returns all name space URIs.
 String toJSON()
          Prints as an JSON string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

attributes

protected final Map<String,ELAttribute> attributes
attributes.


text

protected String text
text.


elements

protected final List<ELElement> elements
elements.

Constructor Detail

ELElement

public ELElement(String namesapceURI,
                 String localName)
Creates a new instance.

Parameters:
namesapceURI - name space URI
localName - local name
Method Detail

getNamespaceURIs

public Set<String> getNamespaceURIs()
Returns all name space URIs.

Returns:
a set of name space URIs.

toJSON

public String toJSON()
Description copied from class: ELNode
Prints as an JSON string.

Specified by:
toJSON in class ELNode
Returns:
a JSON string


Copyright © 2010-2011. All Rights Reserved.