public class XMLSchemaParser extends Object implements DOMErrorHandler
| Modifier and Type | Field and Description |
|---|---|
String |
baseUri |
static int |
BIG_PRIME |
static String |
GRAMMAR_POOL
Property identifier: grammar pool.
|
static int |
SEVERITY_ERROR |
static int |
SEVERITY_FATAL_ERROR |
static int |
SEVERITY_NONE |
static int |
SEVERITY_WARNING |
static String |
SYMBOL_TABLE
Property identifier: symbol table.
|
| Constructor and Description |
|---|
XMLSchemaParser(String uri,
StringBuffer warnings) |
XMLSchemaParser(String baseUri,
String uri,
StringBuffer warnings) |
XMLSchemaParser(String baseUri,
String tempDir,
String uri,
StringBuffer warnings) |
| Modifier and Type | Method and Description |
|---|---|
static String |
expandSystemId(String systemId,
String baseSystemId) |
String |
getAttributeFormDefault(String nspc)
Returns the value for the attribute attributeFormDefault for schema with
given targetnamespace
|
String |
getElementFormDefault(String nspc)
Returns the value for the attribute elementFormDefault for schema with
given targetnamespace
|
boolean |
handleError(DOMError error) |
void |
parseAll(Element node,
org.apache.xerces.xs.XSParticle ptype) |
void |
parseAnyType(Element node,
org.apache.xerces.xs.XSTypeDefinition atype) |
Element |
parseAttribute(Element node,
org.apache.xerces.impl.xs.XSComplexTypeDecl ctype) |
void |
parseChoice(Element node,
org.apache.xerces.xs.XSParticle ptype) |
void |
parseComplexType(Element node,
org.apache.xerces.impl.xs.XSComplexTypeDecl ctype) |
Element |
parseElement(Node node,
org.apache.xerces.impl.xs.XSElementDecl decl) |
void |
parseParticle(Element node,
org.apache.xerces.impl.xs.XSParticleDecl ptype) |
Element |
parseSchemaForElement(Document outputDom,
QName elementName) |
void |
parseSchemaForType(Element partElem,
QName typeName) |
void |
parseSimpleType(Element node,
org.apache.xerces.impl.dv.XSSimpleType stype) |
void |
setBaseUri(String baseUri) |
void |
setTempDir(String tempDir) |
public static final String SYMBOL_TABLE
public static final String GRAMMAR_POOL
public static final int BIG_PRIME
public static final int SEVERITY_NONE
public static final int SEVERITY_WARNING
public static final int SEVERITY_ERROR
public static final int SEVERITY_FATAL_ERROR
public String baseUri
public XMLSchemaParser(String uri, StringBuffer warnings)
public XMLSchemaParser(String baseUri, String uri, StringBuffer warnings)
public XMLSchemaParser(String baseUri, String tempDir, String uri, StringBuffer warnings)
public void setBaseUri(String baseUri)
public void setTempDir(String tempDir)
public String getElementFormDefault(String nspc)
String - targetNamespacepublic String getAttributeFormDefault(String nspc)
String - targetNamespacepublic boolean handleError(DOMError error)
handleError in interface DOMErrorHandlerpublic Element parseAttribute(Element node, org.apache.xerces.impl.xs.XSComplexTypeDecl ctype)
public void parseChoice(Element node, org.apache.xerces.xs.XSParticle ptype)
public void parseAll(Element node, org.apache.xerces.xs.XSParticle ptype)
public void parseAnyType(Element node, org.apache.xerces.xs.XSTypeDefinition atype)
public void parseSimpleType(Element node, org.apache.xerces.impl.dv.XSSimpleType stype)
public void parseComplexType(Element node, org.apache.xerces.impl.xs.XSComplexTypeDecl ctype)
public void parseParticle(Element node, org.apache.xerces.impl.xs.XSParticleDecl ptype)
? Copyright 2013 BMC Software, Inc.