org.archive.util.anvl
Class Element

java.lang.Object
  extended by org.archive.util.anvl.Element

 class Element
extends java.lang.Object

ANVL 'data element'. Made of a lone Label, or a Label plus Value.

Author:
stack
See Also:
A Name-Value Language (ANVL)

Constructor Summary
Element(Label l)
           
Element(Label l, Value v)
           
 
Method Summary
 Label getLabel()
           
 Value getValue()
           
 boolean isValue()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Element

public Element(Label l)

Element

public Element(Label l,
               Value v)
Method Detail

isValue

public boolean isValue()

getLabel

public Label getLabel()

getValue

public Value getValue()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2003-2011 Internet Archive. All Rights Reserved.