Package org.geotools.xml.schema.impl
Class ElementValueGT
- Object
- 
- ElementValueGT
 
- 
- All Implemented Interfaces:
- ElementValue
 
 public class ElementValueGT extends Object implements ElementValue - Author:
- dzwiers
 
- 
- 
Constructor SummaryConstructors Constructor Description ElementValueGT(Element element, Object value)Creates a new ElementValueGT object.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ElementgetElement()Returns the type which generated the associated value.ObjectgetValue()This returns the realized value of an element which was associated with this type.
 
- 
- 
- 
Method Detail- 
getElementpublic Element getElement() Description copied from interface:ElementValueReturns 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.- Specified by:
- getElementin interface- ElementValue
- Returns:
- Type
- See Also:
- ElementValue.getElement()
 
 - 
getValuepublic Object getValue() Description copied from interface:ElementValueThis 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.- Specified by:
- getValuein interface- ElementValue
- Returns:
- Object (may be null)
- See Also:
- ElementValue.getValue()
 
 
- 
 
-