public class WMSLayerInfoURL extends AbstractXMLEventParser
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
format |
protected javax.xml.namespace.QName |
FORMAT |
protected java.lang.String |
name |
protected javax.xml.namespace.QName |
ONLINE_RESOURCE |
protected OGCOnlineResource |
onlineResource |
CHARACTERS_CONTENT, fields, namespaceURI, parent
Constructor and Description |
---|
WMSLayerInfoURL(java.lang.String namespaceURI) |
Modifier and Type | Method and Description |
---|---|
XMLEventParser |
allocate(XMLEventParserContext ctx,
javax.xml.stream.events.XMLEvent event)
Create a parser for a specified event.
|
protected void |
doParseEventAttributes(XMLEventParserContext ctx,
javax.xml.stream.events.XMLEvent event,
java.lang.Object... args)
Parse an event's attributes.
|
protected void |
doParseEventContent(XMLEventParserContext ctx,
javax.xml.stream.events.XMLEvent event,
java.lang.Object... args)
Parse an event's sub-elements.
|
java.lang.String |
getFormat() |
java.lang.String |
getName() |
OGCOnlineResource |
getOnlineResource() |
protected void |
setFormat(java.lang.String format) |
protected void |
setName(java.lang.String name) |
protected void |
setOnlineResource(OGCOnlineResource onlineResource) |
doAddCharacters, doAddEventAttribute, doAddEventContent, freeResources, getAConstructor, getCharacters, getField, getField, getFields, getNamespaceURI, getParent, getRoot, hasField, hasField, hasFields, mergeFields, newInstance, overrideFields, parse, parseCharacterContent, removeField, setField, setField, setFields, setNamespaceURI, setParent
protected java.lang.String format
protected javax.xml.namespace.QName FORMAT
protected java.lang.String name
protected javax.xml.namespace.QName ONLINE_RESOURCE
protected OGCOnlineResource onlineResource
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 doParseEventAttributes(XMLEventParserContext ctx, javax.xml.stream.events.XMLEvent event, java.lang.Object... args)
AbstractXMLEventParser
doParseEventAttributes
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.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.lang.String getFormat()
public java.lang.String getName()
public OGCOnlineResource getOnlineResource()
protected void setFormat(java.lang.String format)
protected void setName(java.lang.String name)
protected void setOnlineResource(OGCOnlineResource onlineResource)