public class OGCDCType extends AbstractXMLEventParser
Modifier and Type | Class and Description |
---|---|
static class |
OGCDCType.DCPInfo |
Modifier and Type | Field and Description |
---|---|
protected QName |
GET |
protected QName |
HTTP |
protected QName |
ONLINE_RESOURCE |
protected QName |
POST |
protected List<OGCDCType.DCPInfo> |
protocols |
CHARACTERS_CONTENT, fields, namespaceURI, parent
Modifier and Type | Method and Description |
---|---|
protected void |
addOnlineResource(OGCOnlineResource onlineResource) |
protected void |
addProtocol(String protocol) |
protected void |
addRequestMethod(String requestMethod) |
XMLEventParser |
allocate(XMLEventParserContext ctx,
XMLEvent event)
Create a parser for a specified event.
|
protected void |
doParseEventContent(XMLEventParserContext ctx,
XMLEvent event,
Object... args)
Parse an event's sub-elements.
|
List<OGCDCType.DCPInfo> |
getDCPInfos() |
OGCOnlineResource |
getOnlineResouce(String protocol,
String requestMethod) |
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 QName GET
protected QName HTTP
protected QName ONLINE_RESOURCE
protected QName POST
protected List<OGCDCType.DCPInfo> protocols
public OGCDCType(String namespaceURI)
protected void addOnlineResource(OGCOnlineResource onlineResource)
protected void addProtocol(String protocol)
protected void addRequestMethod(String requestMethod)
public XMLEventParser allocate(XMLEventParserContext ctx, 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, XMLEvent event, Object... args) throws 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.XMLStreamException
- if an exception occurs during event-stream reading.public List<OGCDCType.DCPInfo> getDCPInfos()
public OGCOnlineResource getOnlineResouce(String protocol, String requestMethod)