Class WFSSchemaParser

java.lang.Object
org.kxml2.io.KXmlParser
org.gvsig.remoteclient.wfs.WFSSchemaParser
All Implemented Interfaces:
org.xmlpull.v1.XmlPullParser

public class WFSSchemaParser extends org.kxml2.io.KXmlParser
Author:
Jorge Piera LlodrĂ¡ (piera_jor@gva.es)
  • Field Summary

    Fields inherited from interface org.xmlpull.v1.XmlPullParser

    CDSECT, COMMENT, DOCDECL, END_DOCUMENT, END_TAG, ENTITY_REF, FEATURE_PROCESS_DOCDECL, FEATURE_PROCESS_NAMESPACES, FEATURE_REPORT_NAMESPACE_ATTRIBUTES, FEATURE_VALIDATION, IGNORABLE_WHITESPACE, NO_NAMESPACE, PROCESSING_INSTRUCTION, START_DOCUMENT, START_TAG, TEXT, TYPES
  • Constructor Summary

    Constructors
    Constructor
    Description
     
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
    void
    require(int type, String namespace, String name)
     
    void
    setSchema(String schema)
     
    void
    It gets the schema from a tag.

    Methods inherited from class org.kxml2.io.KXmlParser

    defineEntityReplacementText, getAttributeCount, getAttributeName, getAttributeNamespace, getAttributePrefix, getAttributeType, getAttributeValue, getAttributeValue, getColumnNumber, getDepth, getEventType, getFeature, getInputEncoding, getLineNumber, getNamespace, getNamespace, getNamespaceCount, getNamespacePrefix, getNamespaceUri, getPositionDescription, getPrefix, getProperty, getText, getTextCharacters, isAttributeDefault, isEmptyElementTag, isWhitespace, next, nextTag, nextText, nextToken, setFeature, setInput, setInput, setProperty, skipSubTree

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • WFSSchemaParser

      public WFSSchemaParser()
    • WFSSchemaParser

      public WFSSchemaParser(String schema)
  • Method Details

    • setSchemaFromMainTag

      public void setSchemaFromMainTag(String tag)
      It gets the schema from a tag. The schema is separated of the tag name by ":".
      Parameters:
      tag -
    • getSchema

      public String getSchema()
      Returns:
      Returns the schema.
    • setSchema

      public void setSchema(String schema)
      Parameters:
      schema - The schema to set.
    • require

      public void require(int type, String namespace, String name) throws org.xmlpull.v1.XmlPullParserException, IOException
      Specified by:
      require in interface org.xmlpull.v1.XmlPullParser
      Overrides:
      require in class org.kxml2.io.KXmlParser
      Throws:
      org.xmlpull.v1.XmlPullParserException
      IOException
    • getName

      public String getName()
      Specified by:
      getName in interface org.xmlpull.v1.XmlPullParser
      Overrides:
      getName in class org.kxml2.io.KXmlParser