public class XMLSchemaParser extends EncodingXMLParser
Constructor and Description |
---|
XMLSchemaParser() |
XMLSchemaParser(java.lang.String schema) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
java.lang.String |
getNameSpace() |
java.lang.String |
getSchema() |
java.lang.String |
getTargetNamespace() |
java.lang.String |
getversion() |
void |
require(int type,
java.lang.String namespace,
java.lang.String name) |
void |
setSchema(java.lang.String schema) |
void |
setSchemaFromMainTag(java.lang.String tag)
It gets the schema from a tag.
|
setInput
public XMLSchemaParser()
public XMLSchemaParser(java.lang.String schema)
public void setSchemaFromMainTag(java.lang.String tag)
tag
- public java.lang.String getSchema()
public void setSchema(java.lang.String schema)
schema
- The schema to set.public void require(int type, java.lang.String namespace, java.lang.String name) throws XmlPullParserException, java.io.IOException
XmlPullParserException
java.io.IOException
public java.lang.String getName()
public java.lang.String getNameSpace()
public java.lang.String getversion()
public java.lang.String getTargetNamespace()