public class OGCDCType extends AbstractXMLEventParser
Modifier and Type | Class and Description |
---|---|
static class |
OGCDCType.DCPInfo |
Modifier and Type | Field and Description |
---|---|
protected javax.xml.namespace.QName |
GET |
protected javax.xml.namespace.QName |
HTTP |
protected javax.xml.namespace.QName |
ONLINE_RESOURCE |
protected javax.xml.namespace.QName |
POST |
protected java.util.List<OGCDCType.DCPInfo> |
protocols |
CHARACTERS_CONTENT, fields, namespaceURI, parent
Constructor and Description |
---|
OGCDCType(java.lang.String namespaceURI) |
Modifier and Type | Method and Description |
---|---|
protected void |
addOnlineResource(OGCOnlineResource onlineResource) |
protected void |
addProtocol(java.lang.String protocol) |
protected void |
addRequestMethod(java.lang.String requestMethod) |
XMLEventParser |
allocate(XMLEventParserContext ctx,
javax.xml.stream.events.XMLEvent event)
Create a parser for a specified event.
|
protected void |
doParseEventContent(XMLEventParserContext ctx,
javax.xml.stream.events.XMLEvent event,
java.lang.Object... args)
Parse an event's sub-elements.
|
java.util.List<OGCDCType.DCPInfo> |
getDCPInfos() |
OGCOnlineResource |
getOnlineResouce(java.lang.String protocol,
java.lang.String requestMethod) |
java.lang.String |
toString() |
doAddCharacters, doAddEventAttribute, doAddEventContent, doParseEventAttributes, freeResources, getAConstructor, getCharacters, getField, getField, getFields, getNamespaceURI, getParent, getRoot, hasField, hasField, hasFields, mergeFields, newInstance, overrideFields, parse, parseCharacterContent, removeField, setField, setField, setFields, setNamespaceURI, setParent
protected javax.xml.namespace.QName GET
protected javax.xml.namespace.QName HTTP
protected javax.xml.namespace.QName ONLINE_RESOURCE
protected javax.xml.namespace.QName POST
protected java.util.List<OGCDCType.DCPInfo> protocols
protected void addOnlineResource(OGCOnlineResource onlineResource)
protected void addProtocol(java.lang.String protocol)
protected void addRequestMethod(java.lang.String requestMethod)
public XMLEventParser allocate(XMLEventParserContext ctx, javax.xml.stream.events.XMLEvent event)
AbstractXMLEventParser
allocate
in class AbstractXMLEventParser
ctx
- the current parser context.event
- the event for which the parser is created. Only the event type is used; the new parser can operate
on any event of that type.protected void doParseEventContent(XMLEventParserContext ctx, javax.xml.stream.events.XMLEvent event, java.lang.Object... args) throws javax.xml.stream.XMLStreamException
AbstractXMLEventParser
doParseEventContent
in class AbstractXMLEventParser
ctx
- a current parser context.event
- the event to parse.args
- an optional list of arguments that may by used by subclasses.javax.xml.stream.XMLStreamException
- if an exception occurs during event-stream reading.public java.util.List<OGCDCType.DCPInfo> getDCPInfos()
public OGCOnlineResource getOnlineResouce(java.lang.String protocol, java.lang.String requestMethod)
public java.lang.String toString()
toString
in class java.lang.Object