public class ProcedureXML extends Object implements IProcedure
Wrapper class to store procedure info as XML DOM. It can temporary hold a DOM Node until it is parsed by an adequate reader into a fully functional Procedure object.
Modifier and Type | Field and Description |
---|---|
protected Element |
domElt |
protected IProcedure |
procedure |
Constructor and Description |
---|
ProcedureXML(Element domElt) |
Modifier and Type | Method and Description |
---|---|
void |
addName(Code name)
Adds a new name property
|
Envelope |
getBoundedBy()
Gets the boundedBy property
|
String |
getDescription()
Gets the description property
|
Reference |
getDescriptionReference()
Gets the descriptionReference property
|
Element |
getDomElement() |
protected RuntimeException |
getException() |
String |
getId()
Gets the id property
|
CodeWithAuthority |
getIdentifier()
Gets the identifier property
|
String |
getLocalId() |
AbstractGeometry |
getLocation()
Gets the location property
|
OgcProperty<AbstractGeometry> |
getLocationProperty()
Gets extra info (name, xlink, etc.) carried by the location property
|
OgcPropertyList<Object> |
getMetaDataPropertyList()
Gets the list of metaDataProperty properties
|
String |
getName() |
List<Code> |
getNameList()
Gets the list of name properties
|
int |
getNumNames()
Returns number of name properties
|
Map<QName,Object> |
getProperties() |
Object |
getProperty(QName qname) |
Object |
getProperty(String name) |
QName |
getQName() |
String |
getType() |
String |
getUniqueIdentifier()
Gets the identifier property
|
boolean |
isSetBoundedBy()
Checks if boundedBy is set
|
boolean |
isSetDescription()
Checks if description is set
|
boolean |
isSetDescriptionReference()
Checks if descriptionReference is set
|
boolean |
isSetIdentifier()
Checks if identifier is set
|
boolean |
isSetLocation()
Checks if location is set
|
void |
setBoundedByAsEnvelope(Envelope boundedBy)
Sets the boundedByAsEnvelope property
|
void |
setDescription(String desc)
Sets the description property
|
void |
setDescriptionReference(Reference descriptionReference)
Sets the descriptionReference property
|
void |
setId(String id)
Sets the id property
|
void |
setIdentifier(CodeWithAuthority identifier)
Sets the identifier property
|
void |
setIdentifier(String uid) |
void |
setLocalId(String id) |
void |
setLocation(AbstractGeometry location)
Sets the locationAsAbstractGeometry property
|
void |
setName(String name)
Sets the default name
|
void |
setProperty(QName qname,
Object value) |
void |
setProperty(String name,
Object value) |
void |
setType(String type) |
void |
setUniqueIdentifier(String identifier)
Sets the identifier property
|
protected Element domElt
protected IProcedure procedure
public ProcedureXML(Element domElt)
public Element getDomElement()
public QName getQName()
getQName
in interface AbstractFeature
getQName
in interface GenericFeature
public String getType()
getType
in interface GenericFeature
public void setType(String type)
setType
in interface GenericFeature
public String getLocalId()
public void setLocalId(String id)
public String getUniqueIdentifier()
AbstractGML
getUniqueIdentifier
in interface AbstractGML
public void setIdentifier(String uid)
public String getDescription()
AbstractGML
getDescription
in interface AbstractGML
public void setDescription(String desc)
AbstractGML
setDescription
in interface AbstractGML
public String getName()
getName
in interface AbstractGML
public void setName(String name)
AbstractGML
setName
in interface AbstractGML
public Map<QName,Object> getProperties()
getProperties
in interface GenericFeature
public Object getProperty(String name)
getProperty
in interface GenericFeature
public void setProperty(String name, Object value)
setProperty
in interface GenericFeature
public Object getProperty(QName qname)
getProperty
in interface GenericFeature
public void setProperty(QName qname, Object value)
setProperty
in interface GenericFeature
protected RuntimeException getException()
public Envelope getBoundedBy()
AbstractFeature
getBoundedBy
in interface AbstractFeature
public boolean isSetBoundedBy()
AbstractFeature
isSetBoundedBy
in interface AbstractFeature
public void setBoundedByAsEnvelope(Envelope boundedBy)
AbstractFeature
setBoundedByAsEnvelope
in interface AbstractFeature
public AbstractGeometry getLocation()
AbstractFeature
getLocation
in interface AbstractFeature
public OgcProperty<AbstractGeometry> getLocationProperty()
AbstractFeature
getLocationProperty
in interface AbstractFeature
public boolean isSetLocation()
AbstractFeature
isSetLocation
in interface AbstractFeature
public void setLocation(AbstractGeometry location)
AbstractFeature
setLocation
in interface AbstractFeature
public OgcPropertyList<Object> getMetaDataPropertyList()
AbstractGML
getMetaDataPropertyList
in interface AbstractGML
public boolean isSetDescription()
AbstractGML
isSetDescription
in interface AbstractGML
public Reference getDescriptionReference()
AbstractGML
getDescriptionReference
in interface AbstractGML
public boolean isSetDescriptionReference()
AbstractGML
isSetDescriptionReference
in interface AbstractGML
public void setDescriptionReference(Reference descriptionReference)
AbstractGML
setDescriptionReference
in interface AbstractGML
public CodeWithAuthority getIdentifier()
AbstractGML
getIdentifier
in interface AbstractGML
public boolean isSetIdentifier()
AbstractGML
isSetIdentifier
in interface AbstractGML
public void setIdentifier(CodeWithAuthority identifier)
AbstractGML
setIdentifier
in interface AbstractGML
public void setUniqueIdentifier(String identifier)
AbstractGML
setUniqueIdentifier
in interface AbstractGML
public List<Code> getNameList()
AbstractGML
getNameList
in interface AbstractGML
public int getNumNames()
AbstractGML
getNumNames
in interface AbstractGML
public void addName(Code name)
AbstractGML
addName
in interface AbstractGML
public String getId()
AbstractGML
getId
in interface AbstractGML
public void setId(String id)
AbstractGML
setId
in interface AbstractGML
Copyright © 2016 Sensia Software LLC. All rights reserved.