|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.feature.property.GenericProperty
public class GenericProperty
Allows the representation of arbitrary Propertys.
TODO Differentiation between value and children needs to be clarified and documented.
| Constructor Summary | |
|---|---|
GenericProperty(PropertyType declaration,
QName name,
TypedObjectNode value)
Creates a new GenericProperty instance. |
|
GenericProperty(PropertyType declaration,
QName name,
TypedObjectNode value,
boolean isNilled)
|
|
GenericProperty(PropertyType declaration,
QName name,
TypedObjectNode value,
Map<QName,PrimitiveValue> attrs,
List<TypedObjectNode> children)
Creates a new GenericProperty instance. |
|
GenericProperty(PropertyType declaration,
QName name,
TypedObjectNode value,
Map<QName,PrimitiveValue> attrs,
List<TypedObjectNode> children,
org.apache.xerces.xs.XSElementDeclaration xsType)
|
|
GenericProperty(PropertyType declaration,
TypedObjectNode value)
Creates a new GenericProperty instance. |
|
| 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. |
PropertyType |
getType()
Returns the type information for this property. |
TypedObjectNode |
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 GenericProperty(PropertyType declaration,
TypedObjectNode value)
GenericProperty instance.
declaration - type informationvalue - property value, can be null
public GenericProperty(PropertyType declaration,
QName name,
TypedObjectNode value)
GenericProperty instance.
declaration - type informationname - name of the property (does not necessarily match the name in the type information)value - property value, can be null
public GenericProperty(PropertyType declaration,
QName name,
TypedObjectNode value,
Map<QName,PrimitiveValue> attrs,
List<TypedObjectNode> children)
GenericProperty instance.
declaration - type informationname - name of the property (does not necessarily match the name in the type information)value - primary property value, can be null
public GenericProperty(PropertyType declaration,
QName name,
TypedObjectNode value,
Map<QName,PrimitiveValue> attrs,
List<TypedObjectNode> children,
org.apache.xerces.xs.XSElementDeclaration xsType)
public GenericProperty(PropertyType declaration,
QName name,
TypedObjectNode value,
boolean isNilled)
| Method Detail |
|---|
public QName getName()
PropertyIn 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 ElementNodegetName in interface Propertynullpublic TypedObjectNode getValue()
Property
getValue in interface Propertynullpublic void setValue(TypedObjectNode value)
PropertyNOTE: This also changes the children of the property.
setValue in interface Propertyvalue - the value of this property, can be nullpublic void setChildren(List<TypedObjectNode> children)
PropertyNOTE: This also changes the value of the property.
setChildren in interface Propertychildren - the children of this property, can be nullpublic PropertyType getType()
Property
getType in interface Propertynullpublic String toString()
Property
toString in interface PropertytoString in class Objectnullpublic Map<QName,PrimitiveValue> getAttributes()
ElementNode
getAttributes in interface ElementNodenullpublic List<TypedObjectNode> getChildren()
ElementNode
getChildren in interface ElementNodenullpublic org.apache.xerces.xs.XSElementDeclaration getXSType()
ElementNode
getXSType in interface ElementNodenull
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||