com.xml_project.morganaxdm
Class SchemaTypeTools
java.lang.Object
com.xml_project.morganaxdm.SchemaTypeTools
public class SchemaTypeTools
- extends java.lang.Object
For internal use only: Some static methods usable for XDM.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
handleWhitespace
public static java.lang.String handleWhitespace(java.lang.String source,
SchemaTypeTools.WhitespaceRestriction mode)
isInstanceOf
public static boolean isInstanceOf(XS_AnyType value,
java.lang.Class<? extends XS_AnyType> theClass)
throws XPathException
- Throws:
XPathException
isDerivedFrom
public static boolean isDerivedFrom(java.lang.Class<? extends XS_AnyType> baseClass,
java.lang.Class<? extends XS_AnyType> derivedClass)
throws XPathException
- Throws:
XPathException
isRestrictionBase
public static boolean isRestrictionBase(java.lang.Class<? extends XS_AnyType> baseClass,
java.lang.Class<? extends XS_AnyType> superClass)
throws XPathException
- Throws:
XPathException
getPrimitiveBase
public static java.lang.Class<? extends XS_AnyType> getPrimitiveBase(java.lang.Class<? extends XS_AnyType> baseClass)
throws XPathException
- Throws:
XPathException