|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.ogcbase.XMLFactory
org.deegree.ogcwebservices.csw.discovery.XMLFactory
public class XMLFactory
| Field Summary |
|---|
| Fields inherited from class org.deegree.ogcbase.XMLFactory |
|---|
GMLNS, OGCNS, XLNNS |
| Constructor Summary | |
|---|---|
XMLFactory()
|
|
| Method Summary | |
|---|---|
protected static void |
appendTypeNamesAttribute(org.w3c.dom.Element rootElement,
org.w3c.dom.Element toBeInserted,
java.util.List<QualifiedName> typeNames,
java.util.Map<java.lang.String,QualifiedName> aliases)
|
static DescribeRecordResultDocument |
export(DescribeRecordResult response)
Exports a DescribeRecordResponse instance to a DescribeRecordResponseDocument. |
static GetRecordByIdDocument |
export(GetRecordById request)
Exports a GetRecordById instance to a GetRecordByIdDocument. |
static GetRecordByIdResultDocument |
export(GetRecordByIdResult response)
Exports a instance of GetRecordByIdResult to a GetRecordByIdResultDocument. |
static GetRecordsDocument |
export(GetRecords request)
Exports a GetRecords instance to a GetRecordsDocument. |
static GetRecordsResultDocument |
export(GetRecordsResult response)
Exports a GetRecordsResponse instance to a GetRecordsResponseDocument. |
static GetRecordsDocument |
exportWithVersion(GetRecords request)
Exports a GetRecords instance to a GetRecordsDocument. |
| Methods inherited from class org.deegree.ogcbase.XMLFactory |
|---|
appendCodeList, appendEnvelope, appendFeatureId, appendGeometry, appendInterval, appendKeywords, appendKeywords, appendLonLatEnvelope, appendOnlineResource, appendPropertyPath, appendSimpleLinkAttributes, appendTemporalDomain, appendTimePeriod, appendTimePosition, appendTimeResolution, appendTypedLiteral, appendValues |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XMLFactory()
| Method Detail |
|---|
public static GetRecordsResultDocument export(GetRecordsResult response)
throws XMLException
GetRecordsResponse instance to a GetRecordsResponseDocument.
response -
GetRecordsResponse
XMLException - if XML template could not be loaded
public static GetRecordByIdResultDocument export(GetRecordByIdResult response)
throws XMLException
GetRecordByIdResult to a GetRecordByIdResultDocument.
response -
XMLException
public static DescribeRecordResultDocument export(DescribeRecordResult response)
throws XMLException
DescribeRecordResponse instance to a DescribeRecordResponseDocument.
response -
DescribeRecordResponse
XMLException - if XML template could not be loaded
public static GetRecordsDocument exportWithVersion(GetRecords request)
throws XMLException,
OGCWebServiceException
GetRecords instance to a GetRecordsDocument.
request -
GetRecords
XMLException - if some elements could not be appended
OGCWebServiceException - if an error occurred while creating the xml-representation of the GetRecords bean.
public static GetRecordsDocument export(GetRecords request)
throws XMLException,
OGCWebServiceException
GetRecords instance to a GetRecordsDocument.
request -
GetRecords
XMLException - if some elements could not be appended
OGCWebServiceException - if an error occurred while creating the xml-representation of the GetRecords bean.
protected static void appendTypeNamesAttribute(org.w3c.dom.Element rootElement,
org.w3c.dom.Element toBeInserted,
java.util.List<QualifiedName> typeNames,
java.util.Map<java.lang.String,QualifiedName> aliases)
rootElement - the first node of the DocuementtoBeInserted - to which the typeNames attribute will be appendedtypeNames - to be inserted into the toBeInserted elementaliases - may be null, if not each typeName must have exactly one alias defined, which will be
inserted after the typename (e.g. typename=$o). If map must contain a mapping from variable to
qualifiedName (e.g. [o, typeName]);
public static GetRecordByIdDocument export(GetRecordById request)
throws XMLException
GetRecordById instance to a GetRecordByIdDocument.
request -
GetRecordById
XMLException - if XML template could not be loaded
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org