edu.ogi.cse.xs.xsd.xerces
Class XercesUtil
java.lang.Object
edu.ogi.cse.xs.xsd.xerces.XercesUtil
public class XercesUtil
- extends java.lang.Object
Method Summary |
static org.apache.xerces.impl.xs.psvi.XSModel |
build(java.lang.String filename)
|
static int |
convertToSQLType(short xsdtype)
|
static void |
echoAnnotation(java.util.List annotationAttrs)
|
static boolean |
edgeMapping(java.util.List annotationAttrs)
|
static java.util.List |
getElemsByTagName(org.w3c.dom.Element element,
java.lang.String name)
|
static java.lang.String |
getFieldName(java.util.List annotationAttrs)
|
static int |
getIdentityScheme(java.util.List annotationAttrs)
|
static java.lang.String |
getNodeValue(org.w3c.dom.Node node)
|
static int |
getSQLType(java.util.List annotationAttrs)
|
static java.lang.String |
getTableName(java.util.List annotationAttrs)
|
static int |
getTypeLen(java.util.List annotationAttrs)
|
static boolean |
isAllGroup(org.apache.xerces.impl.xs.psvi.XSModelGroup xg)
|
static boolean |
isChoiceGroup(org.apache.xerces.impl.xs.psvi.XSModelGroup xg)
|
static boolean |
isOutlined(java.util.List annotationAttrs)
|
static boolean |
isSequenceGroup(org.apache.xerces.impl.xs.psvi.XSModelGroup xg)
|
static void |
main(java.lang.String[] args)
|
static boolean |
mappedToClob(java.util.List annotationAttrs)
|
static org.w3c.dom.Document |
parse(java.lang.String xmlfile)
|
static org.w3c.dom.Document |
parse(java.lang.String xmlfile,
java.lang.String xsdfile)
|
static java.lang.String |
xsdTypeToString(short xsdtype)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XercesUtil
public XercesUtil()
build
public static org.apache.xerces.impl.xs.psvi.XSModel build(java.lang.String filename)
parse
public static org.w3c.dom.Document parse(java.lang.String xmlfile,
java.lang.String xsdfile)
parse
public static org.w3c.dom.Document parse(java.lang.String xmlfile)
getElemsByTagName
public static java.util.List getElemsByTagName(org.w3c.dom.Element element,
java.lang.String name)
getNodeValue
public static java.lang.String getNodeValue(org.w3c.dom.Node node)
convertToSQLType
public static int convertToSQLType(short xsdtype)
xsdTypeToString
public static java.lang.String xsdTypeToString(short xsdtype)
isChoiceGroup
public static boolean isChoiceGroup(org.apache.xerces.impl.xs.psvi.XSModelGroup xg)
isSequenceGroup
public static boolean isSequenceGroup(org.apache.xerces.impl.xs.psvi.XSModelGroup xg)
isAllGroup
public static boolean isAllGroup(org.apache.xerces.impl.xs.psvi.XSModelGroup xg)
isOutlined
public static boolean isOutlined(java.util.List annotationAttrs)
getTableName
public static java.lang.String getTableName(java.util.List annotationAttrs)
getFieldName
public static java.lang.String getFieldName(java.util.List annotationAttrs)
getIdentityScheme
public static int getIdentityScheme(java.util.List annotationAttrs)
mappedToClob
public static boolean mappedToClob(java.util.List annotationAttrs)
edgeMapping
public static boolean edgeMapping(java.util.List annotationAttrs)
getSQLType
public static int getSQLType(java.util.List annotationAttrs)
getTypeLen
public static int getTypeLen(java.util.List annotationAttrs)
echoAnnotation
public static void echoAnnotation(java.util.List annotationAttrs)
main
public static void main(java.lang.String[] args)