Groovy Documentation

com.predic8.schema
[Groovy] Class SchemaComponent

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

abstract class SchemaComponent
extends XMLElement

Field Summary
 
Fields inherited from class XMLElement
namespaces
 
Property Summary
static String NAMESPACE

Annotation annotation

def exchange

String name

Schema schema

 
Method Summary
def create(def creator, CreatorContext ctx)

String getAsString()

String getNamespaceUri()

String getPrefix()

Is used by RequestCreator and RequestTemplateCreator to get the prefix of the targetNamespace of the created element, like p8, ns0, ns1.

String getRequestTemplate()

String getSchemaFragment(def ctx)

protected def parseAttributes(def token, def params)

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

 
Methods inherited from class XMLElement
getElementName, getNamespace, getNamespaceContext, getNamespaceUri, getPrefix, getPrefix, getQNameForPN, getTypeQName, getTypeString, parse, parseAttributes, parseChildren, parseNamespaces, parseText
 

Property Detail

NAMESPACE

static final String NAMESPACE


annotation

Annotation annotation


exchange

def exchange


name

String name


schema

Schema schema


 
Method Detail

create

def create(def creator, CreatorContext ctx)


getAsString

String getAsString()


getNamespaceUri

String getNamespaceUri()


getPrefix

String getPrefix()
Is used by RequestCreator and RequestTemplateCreator to get the prefix of the targetNamespace of the created element, like p8, ns0, ns1.
Returns:
Prefix of the schema targetNamespace.


getRequestTemplate

String getRequestTemplate()


getSchemaFragment

String getSchemaFragment(def ctx)


parseAttributes

protected def parseAttributes(def token, def params)


parseChildren

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


 

Groovy Documentation