|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.feature.property.SimpleProperty
public class SimpleProperty
TODO add documentation here
Constructor Summary | |
---|---|
SimpleProperty(SimplePropertyType pt,
String value)
|
Method Summary | |
---|---|
Map<QName,PrimitiveValue> |
getAttributes()
Returns the attributes of the node. |
List<TypedObjectNode> |
getChildren()
Returns the children of the node. |
QName |
getName()
Returns the name of the property. |
SimplePropertyType |
getType()
Returns the type information for this property. |
PrimitiveValue |
getValue()
Returns the value of this property. |
org.apache.xerces.xs.XSElementDeclaration |
getXSType()
Returns the XML schema declaration of the element. |
void |
setChildren(List<TypedObjectNode> children)
Sets the children of this property. |
void |
setValue(TypedObjectNode value)
Sets the value of this property. |
String |
toString()
Returns the text value of this property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SimpleProperty(SimplePropertyType pt, String value)
Method Detail |
---|
public QName getName()
Property
In a canonical GML representation, this corresponds to the property's element name in the declaration. However, there are some GML application schemas (e.g. CityGML) that define properties using abstract element declarations and provide multiple concrete substitutable elements. In these cases, the name of a property is not equal to the name of the property type.
getName
in interface ElementNode
getName
in interface Property
null
public org.apache.xerces.xs.XSElementDeclaration getXSType()
ElementNode
getXSType
in interface ElementNode
null
public PrimitiveValue getValue()
Property
getValue
in interface Property
null
public void setValue(TypedObjectNode value)
Property
NOTE: This also changes the children of the property.
setValue
in interface Property
value
- the value of this property, can be null
public SimplePropertyType getType()
Property
getType
in interface Property
null
public String toString()
Property
toString
in interface Property
toString
in class Object
null
public Map<QName,PrimitiveValue> getAttributes()
ElementNode
getAttributes
in interface ElementNode
null
public List<TypedObjectNode> getChildren()
ElementNode
getChildren
in interface ElementNode
null
public void setChildren(List<TypedObjectNode> children)
Property
NOTE: This also changes the value of the property.
setChildren
in interface Property
children
- the children of this property, can be null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |