|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cxf.common.xmlschema.XmlSchemaTools
public final class XmlSchemaTools
Some functions that avoid problems with Commons XML Schema.
Method Summary | |
---|---|
static java.util.List<java.lang.String> |
enumeratorValues(org.apache.ws.commons.schema.XmlSchemaSimpleType type)
Retrieve the string values for an enumeration. |
static boolean |
isEumeration(org.apache.ws.commons.schema.XmlSchemaSimpleType type)
Return true if a simple type is a straightforward XML Schema representation of an enumeration. |
static void |
setElementName(org.apache.ws.commons.schema.XmlSchemaElement element,
java.lang.String name)
Wrapper around XmlSchemaElement.setName that checks for inconsistency with refName. |
static void |
setElementQName(org.apache.ws.commons.schema.XmlSchemaElement element,
javax.xml.namespace.QName name)
Wrapper around XmlSchemaElement.setQName that checks for inconsistency with refName. |
static void |
setElementRefName(org.apache.ws.commons.schema.XmlSchemaElement element,
javax.xml.namespace.QName name)
Wrapper around XmlSchemaElement.setRefName that checks for inconsistency with name and QName. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void setElementQName(org.apache.ws.commons.schema.XmlSchemaElement element, javax.xml.namespace.QName name)
element
- name
- public static void setElementName(org.apache.ws.commons.schema.XmlSchemaElement element, java.lang.String name)
element
- name
- public static void setElementRefName(org.apache.ws.commons.schema.XmlSchemaElement element, javax.xml.namespace.QName name)
element
- name
- public static boolean isEumeration(org.apache.ws.commons.schema.XmlSchemaSimpleType type)
type
- Simple type, possible an enumeration.
public static java.util.List<java.lang.String> enumeratorValues(org.apache.ws.commons.schema.XmlSchemaSimpleType type)
type
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |