public class TypeDescriptors extends Object
Constructor and Description |
---|
TypeDescriptors(org.apache.ws.commons.schema.XmlSchemaCollection schemas)
Constructor that takes a collection of XML Schemas.
|
Modifier and Type | Method and Description |
---|---|
static TypeDescriptor |
getDescriptor(org.apache.ws.commons.schema.XmlSchemaElement element) |
static TypeDescriptor |
getDescriptor(org.apache.ws.commons.schema.XmlSchemaType type) |
static List<TypeDescriptor> |
getDescriptors(LinkedHashMap<String,org.apache.ws.commons.schema.XmlSchemaObject> map) |
TypeDescriptor |
getElementDescriptor(QName elementName)
Builds a type descriptor for a "Literal" parameter.
|
TypeDescriptor |
getTypeDescriptor(QName typeName)
Builds a type descriptor for a "RPC" parameter.
|
public TypeDescriptors(org.apache.ws.commons.schema.XmlSchemaCollection schemas)
schemas
- XML Schemas that this class uses to build type descriptorspublic static List<TypeDescriptor> getDescriptors(LinkedHashMap<String,org.apache.ws.commons.schema.XmlSchemaObject> map)
public static TypeDescriptor getDescriptor(org.apache.ws.commons.schema.XmlSchemaElement element)
public static TypeDescriptor getDescriptor(org.apache.ws.commons.schema.XmlSchemaType type)
public TypeDescriptor getElementDescriptor(QName elementName)
elementName
- an XML element name of the parameter.public TypeDescriptor getTypeDescriptor(QName typeName)
typeName
- an XML type name of the parameter.Copyright © 2015–2016 The Apache Software Foundation. All rights reserved.