|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.xml.schema.impl.ElementValueGT
DOCUMENT ME!
Constructor Summary | |
ElementValueGT(Element element,
java.lang.Object value)
Creates a new ElementValueGT object. |
Method Summary | |
Element |
getElement()
Returns the type which generated the associated value. |
java.lang.Object |
getValue()
This returns the realized value of an element which was associated with this type. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ElementValueGT(Element element, java.lang.Object value)
element
- DOCUMENT ME!value
- DOCUMENT ME!Method Detail |
public Element getElement()
ElementValue
Returns the type which generated the associated value. The type is important because it allows easy access to the xml element inheritance tree, allowing the user to test whether it is a valid data entry.
getElement
in interface ElementValue
ElementValue.getElement()
public java.lang.Object getValue()
ElementValue
This returns the realized value of an element which was associated with this type. We recommend that this value be realized prior to the first request for the value (use this object to cache the result). If you do chose to implement this method lazily, consider caching the result as it may be called more than once, expecting the same result both times.
getValue
in interface ElementValue
ElementValue.getValue()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |