Joda System API

org.joda.property.path
Class DocumentNavigator.NavAttribute

java.lang.Object
  |
  +--org.joda.property.path.DocumentNavigator.NavNode
        |
        +--org.joda.property.path.DocumentNavigator.NavAttribute
All Implemented Interfaces:
ModelAttribute
Enclosing class:
DocumentNavigator

public static class DocumentNavigator.NavAttribute
extends org.joda.property.path.DocumentNavigator.NavNode
implements ModelAttribute

Wrapper for attribute handling


Field Summary
protected  java.lang.String key
           
protected  DocumentNavigator.NavElement parent
           
protected  java.lang.String value
           
 
Method Summary
 java.lang.String getName()
          Get the name of the attribute
 ModelElement getParent()
          Get the model element the attribute belongs to
 java.lang.String getValue()
          Get the value of the attribute
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

key

protected java.lang.String key

value

protected java.lang.String value

parent

protected DocumentNavigator.NavElement parent
Method Detail

toString

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

getName

public java.lang.String getName()
Description copied from interface: ModelAttribute
Get the name of the attribute

Specified by:
getName in interface ModelAttribute
Returns:
attribute name

getValue

public java.lang.String getValue()
Description copied from interface: ModelAttribute
Get the value of the attribute

Specified by:
getValue in interface ModelAttribute
Returns:
attribute name

getParent

public ModelElement getParent()
Description copied from interface: ModelAttribute
Get the model element the attribute belongs to

Specified by:
getParent in interface ModelAttribute
Returns:
parent element

Joda System API

Copyright © 2001-2003 Stephen Colebourne. All Rights Reserved.