|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.event.xml.SchemaUtil
public class SchemaUtil
Utility class for querying schema information via Xerces implementation classes.
Constructor Summary | |
---|---|
SchemaUtil()
|
Method Summary | |
---|---|
static com.sun.org.apache.xerces.internal.xs.XSObject |
findPropertyMapping(com.sun.org.apache.xerces.internal.xs.XSComplexTypeDefinition def,
String property)
Finds an apropiate definition for the given property, starting at the given definition. |
static com.sun.org.apache.xerces.internal.xs.XSElementDeclaration |
findRootElement(com.sun.org.apache.xerces.internal.xs.XSModel schema,
String namespace,
String elementName)
Returns the root element for a given schema given a root element name and namespace. |
static QName |
simpleTypeToQName(com.sun.org.apache.xerces.internal.impl.dv.xs.XSSimpleTypeDecl definition)
Returns the XPathConstants type for a given Xerces type definition. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SchemaUtil()
Method Detail |
---|
public static QName simpleTypeToQName(com.sun.org.apache.xerces.internal.impl.dv.xs.XSSimpleTypeDecl definition)
definition
- is the schema element definition
public static com.sun.org.apache.xerces.internal.xs.XSElementDeclaration findRootElement(com.sun.org.apache.xerces.internal.xs.XSModel schema, String namespace, String elementName)
schema
- is the schema to interrogatenamespace
- is the namespace of the root elementelementName
- is the name of the root element
public static com.sun.org.apache.xerces.internal.xs.XSObject findPropertyMapping(com.sun.org.apache.xerces.internal.xs.XSComplexTypeDefinition def, String property)
def
- the definition to start lookingproperty
- the property to look for
|
© 2007 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |