org.apache.xerces.impl.xs.util
Class XSTypeHelper

java.lang.Object
  extended byorg.apache.xerces.impl.xs.util.XSTypeHelper

public class XSTypeHelper
extends java.lang.Object

Class defining utility/helper methods related to XML schema types.

Version:
$Id: XSTypeHelper.java 1038854 2010-11-24 22:41:05Z mukulg $
Author:
Mukul Gandhi, IBM

INTERNAL:

Usage of this class is not supported. It may be altered or removed at any time.

Constructor Summary
XSTypeHelper()
           
 
Method Summary
static boolean isAtomicValueValidForAnUnion(org.apache.xerces.xs.XSObjectList memberTypes, java.lang.String content, ValidatedInfo validatedInfo)
           
static boolean isSchemaTypesIdentical(org.apache.xerces.xs.XSTypeDefinition typeDefn1, org.apache.xerces.xs.XSTypeDefinition typeDefn2)
           
static boolean isUriEqual(java.lang.String uri1, java.lang.String uri2)
           
static boolean isValueValidForASimpleType(java.lang.String value, XSSimpleType simplType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XSTypeHelper

public XSTypeHelper()
Method Detail

isSchemaTypesIdentical

public static boolean isSchemaTypesIdentical(org.apache.xerces.xs.XSTypeDefinition typeDefn1,
                                             org.apache.xerces.xs.XSTypeDefinition typeDefn2)

isUriEqual

public static boolean isUriEqual(java.lang.String uri1,
                                 java.lang.String uri2)

isAtomicValueValidForAnUnion

public static boolean isAtomicValueValidForAnUnion(org.apache.xerces.xs.XSObjectList memberTypes,
                                                   java.lang.String content,
                                                   ValidatedInfo validatedInfo)

isValueValidForASimpleType

public static boolean isValueValidForASimpleType(java.lang.String value,
                                                 XSSimpleType simplType)


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.