|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Objectcom.predic8.soamodel.XMLElement
com.predic8.schema.SchemaComponent
com.predic8.schema.Schema
class Schema extends SchemaComponent
Field Summary | |
---|---|
static JQName |
DATE
|
static JQName |
ELEMENTNAME
|
static JQName |
INT
|
static JQName |
INTEGER
|
static JQName |
STRING
|
Fields inherited from class XMLElement | |
---|---|
namespaces |
Property Summary | |
---|---|
Annotation |
annotation
|
String |
attributeFormDefault
|
List |
attributeGroups
|
List |
attributes
|
String |
baseDir
|
List |
complexTypes
|
Definitions |
definitions
if the schema is embedded in a WSDL document, definitions is a reference to the schema. |
String |
elementFormDefault
|
List |
elements
|
List |
groups
|
List |
imports
|
List |
includedPaths
includedPaths contains a list of Strings with the real schema location and is used to prevent a cycling include circle to come to a deadlock. |
List |
includes
includes contains a list of Include objects for each included schema. |
ResourceResolver |
resourceResolver
|
List |
simpleTypes
|
String |
targetNamespace
|
Constructor Summary | |
Schema()
|
|
Schema(String tns)
|
Methods inherited from class SchemaComponent | |
---|---|
create, getAsString, getNamespaceUri, getPrefix, getRequestTemplate, getSchemaFragment, parseAttributes, parseChildren |
Methods inherited from class XMLElement | |
---|---|
getElementName, getNamespace, getNamespaceContext, getNamespaceUri, getPrefix, getPrefix, getQNameForPN, getTypeQName, getTypeString, parse, parseAttributes, parseChildren, parseNamespaces, parseText |
Field Detail |
---|
public static final JQName DATE
public static final JQName ELEMENTNAME
public static final JQName INT
public static final JQName INTEGER
public static final JQName STRING
Property Detail |
---|
Annotation annotation
String attributeFormDefault
List attributeGroups
List attributes
String baseDir
List complexTypes
Definitions definitions
String elementFormDefault
List elements
List groups
List imports
List includedPaths
List includes
ResourceResolver resourceResolver
List simpleTypes
String targetNamespace
Constructor Detail |
---|
Schema()
Schema(String tns)
Method Detail |
---|
void add(ComplexType ct)
def asXml(def namespaces)
def create(def creator, CreatorContext ctx)
boolean equals(def obj)
List getAllElements()
List getAllSchemas()
Attribute getAttribute(QName ref)
Attribute getAttribute(String name)
AttributeGroup getAttributeGroup(QName ref)
AttributeGroup getAttributeGroup(String name)
ComplexType getComplexType(String typeName)
Element getElement(QName elementRef)
Element getElement(String elementName)
protected def getElementName()
Group getGroup(QName qname)
Schema getImportedSchema(def targetNamespace)
List getImportedSchemas()
List getImportedSchemas(def importedSchemas)
Schema getSchema()
SimpleType getSimpleType(String typeName)
TypeDefinition getType(QName type)
TypeDefinition getType(String typeName)
ComplexType newComplexType(String name)
ComplexType newComplexType()
Element newElement(String name, JQName type)
Element newElement(String name, String type)
Element newElement(String name)
SimpleType newSimpleType()
SimpleType newSimpleType(String name)
protected def parseAttributes(def token, def ctx)
protected def parseChildren(def token, def child, def ctx)
String toString()
List validate(AbstractParserContext ctx)
Groovy Documentation