NASA World Wind

gov.nasa.worldwind.ogc
Class OGCOnlineResource

java.lang.Object
  extended by gov.nasa.worldwind.util.xml.AbstractXMLEventParser
      extended by gov.nasa.worldwind.ogc.OGCOnlineResource
All Implemented Interfaces:
XMLEventParser

public class OGCOnlineResource
extends AbstractXMLEventParser

Parses an OGC OnlineResource element.


Field Summary
protected  String href
           
protected  QName HREF
           
protected  String type
           
protected  QName TYPE
           
 
Fields inherited from class gov.nasa.worldwind.util.xml.AbstractXMLEventParser
CHARACTERS_CONTENT, fields, namespaceURI, parent
 
Constructor Summary
OGCOnlineResource(String namespaceURI)
           
 
Method Summary
protected  void doParseEventAttributes(XMLEventParserContext ctx, javax.xml.stream.events.XMLEvent event, Object... args)
          Parse an event's attributes.
 String getHref()
           
 String getType()
           
protected  void setHref(String href)
           
protected  void setType(String type)
           
 String toString()
           
 
Methods inherited from class gov.nasa.worldwind.util.xml.AbstractXMLEventParser
allocate, doAddCharacters, doAddEventAttribute, doAddEventContent, doParseEventContent, freeResources, getAConstructor, getCharacters, getField, getField, getFields, getNamespaceURI, getParent, getRoot, hasField, hasField, hasFields, mergeFields, newInstance, overrideFields, parse, parseCharacterContent, removeField, setField, setField, setFields, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

href

protected String href

HREF

protected QName HREF

type

protected String type

TYPE

protected QName TYPE
Constructor Detail

OGCOnlineResource

public OGCOnlineResource(String namespaceURI)
Method Detail

doParseEventAttributes

protected void doParseEventAttributes(XMLEventParserContext ctx,
                                      javax.xml.stream.events.XMLEvent event,
                                      Object... args)
Description copied from class: AbstractXMLEventParser
Parse an event's attributes.

Overrides:
doParseEventAttributes in class AbstractXMLEventParser
Parameters:
ctx - a current parser context.
event - the event to parse.
args - an optional list of arguments that may by used by subclasses.

getHref

public String getHref()

getType

public String getType()

setHref

protected void setHref(String href)

setType

protected void setType(String type)

toString

public String toString()
Overrides:
toString in class Object

NASA World Wind