com.googlecode.jinahya.el
Class ELNode

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

public abstract class ELNode
extends Object

Abstract node.

Author:
Jin Kwon

Field Summary
protected  String localName
          local name.
protected  String namespaceURI
          namespace URI.
 
Constructor Summary
ELNode(String namespaceURI, String localName)
          Creates a new instance.
 
Method Summary
abstract  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

namespaceURI

protected final String namespaceURI
namespace URI.


localName

protected final String localName
local name.

Constructor Detail

ELNode

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

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

toJSON

public abstract String toJSON()
Prints as an JSON string.

Returns:
a JSON string


Copyright © 2010-2011. All Rights Reserved.