com.xml_project.morganaxproc.xdm
Class SchemaTypeTools
java.lang.Object
com.xml_project.morganaxproc.xdm.SchemaTypeTools
public class SchemaTypeTools
- extends 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 String handleWhitespace(String source,
SchemaTypeTools.WhitespaceRestriction mode)
isInstanceOf
public static boolean isInstanceOf(XS_AnyType value,
Class<? extends XS_AnyType> theClass)
throws XPathException
- Throws:
XPathException
isDerivedFrom
public static boolean isDerivedFrom(Class<? extends XS_AnyType> baseClass,
Class<? extends XS_AnyType> derivedClass)
throws XPathException
- Throws:
XPathException
isRestrictionBase
public static boolean isRestrictionBase(Class<? extends XS_AnyType> baseClass,
Class<? extends XS_AnyType> superClass)
throws XPathException
- Throws:
XPathException
getPrimitiveBase
public static Class<? extends XS_AnyType> getPrimitiveBase(Class<? extends XS_AnyType> baseClass)
throws XPathException
- Throws:
XPathException