com.googlecode.jinahya.xml
Class ELNode

java.lang.Object
  extended by com.googlecode.jinahya.xml.ELNode
Direct Known Subclasses:
ELAttribute, ELElement

public abstract class ELNode
extends Object

Abstract node.

Author:
Jin Kwon

Constructor Summary
ELNode(String namespaceURI, String localName)
          Creates a new instance.
 
Method Summary
 String getLocalName()
          Returns localName property value.
 String getNamespaceURI()
          Returns namespaceURI property value.
abstract  String toJSON()
          Returns a JSON representation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ELNode

public ELNode(String namespaceURI,
              String localName)
Creates a new instance.

Parameters:
namespaceURI - namespace URI
localName - local name
Method Detail

getNamespaceURI

public String getNamespaceURI()
Returns namespaceURI property value.

Returns:
namespaceURI.

getLocalName

public String getLocalName()
Returns localName property value.

Returns:
localName

toJSON

public abstract String toJSON()
Returns a JSON representation.

Returns:
a JSON string


Copyright © 2010-2011. All Rights Reserved.