Groovy Documentation

com.predic8.schema
[Groovy] Class Schema

java.lang.Object
  com.predic8.soamodel.XMLElement
      com.predic8.schema.Schema

class Schema
extends XMLElement

Field Summary
static JQName DATE

static JQName ELEMENTNAME

static JQName INT

static JQName INTEGER

static String SCHEMA_NS

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 includes

def resourceResolver

List simpleTypes

String targetNamespace

 
Constructor Summary
Schema()

Schema(String tns)

 
Method Summary
void add(ComplexType ct)

def asXml(def namespaces)

def create(def creator, def ctx)

boolean equals(def obj)

def getAllElements()

def getAllSchemas()

String getAsString()

Attribute getAttribute(QName ref)

Attribute getAttribute(String name)

AttributeGroup getAttributeGroup(QName ref)

AttributeGroup getAttributeGroup(String name)

ComplexType getComplexType(String typeName)

def getElement(QName qname)

Element getElement(String elementName)

protected def getElementName()

def getGroup(QName qname)

def getImportedSchema(def targetNamespace)

def getImportedSchemas()

TypeDefinition getType(QName qname)

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)

protected def parseAttributes(def token, def params)

protected def parseChildren(def token, def child, def params)

String toString()

 
Methods inherited from class XMLElement
getElementName, getNamespace, getNamespaceContext, getPrefix, getPrefix, getTypeQName, getTypeString, parse, parseAttributes, parseChildren, parseNamespaces, parseText
 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

DATE

public static final JQName DATE


ELEMENTNAME

public static final JQName ELEMENTNAME


INT

public static final JQName INT


INTEGER

public static final JQName INTEGER


SCHEMA_NS

public static final String SCHEMA_NS


STRING

public static final JQName STRING


 
Property Detail

annotation

Annotation annotation


attributeFormDefault

String attributeFormDefault


attributeGroups

List attributeGroups


attributes

List attributes


baseDir

String baseDir


complexTypes

List complexTypes


definitions

Definitions definitions
if the schema is embedded in a WSDL document, definitions is a reference to the schema. Definitions is null if the schema is not embedded in a WSDL document.


elementFormDefault

String elementFormDefault


elements

List elements


groups

List groups


imports

List imports


includes

List includes


resourceResolver

def resourceResolver


simpleTypes

List simpleTypes


targetNamespace

String targetNamespace


 
Constructor Detail

Schema

Schema()


Schema

Schema(String tns)


 
Method Detail

add

void add(ComplexType ct)


asXml

def asXml(def namespaces)


create

def create(def creator, def ctx)


equals

boolean equals(def obj)


getAllElements

def getAllElements()


getAllSchemas

def getAllSchemas()


getAsString

String getAsString()


getAttribute

Attribute getAttribute(QName ref)


getAttribute

Attribute getAttribute(String name)


getAttributeGroup

AttributeGroup getAttributeGroup(QName ref)


getAttributeGroup

AttributeGroup getAttributeGroup(String name)


getComplexType

ComplexType getComplexType(String typeName)


getElement

def getElement(QName qname)


getElement

Element getElement(String elementName)


getElementName

protected def getElementName()


getGroup

def getGroup(QName qname)


getImportedSchema

def getImportedSchema(def targetNamespace)


getImportedSchemas

def getImportedSchemas()


getType

TypeDefinition getType(QName qname)


getType

TypeDefinition getType(String typeName)


newComplexType

ComplexType newComplexType(String name)


newComplexType

ComplexType newComplexType()


newElement

Element newElement(String name, JQName type)


newElement

Element newElement(String name, String type)


newElement

Element newElement(String name)


parseAttributes

protected def parseAttributes(def token, def params)


parseChildren

protected def parseChildren(def token, def child, def params)


toString

String toString()


 

Groovy Documentation