Groovy Documentation

com.predic8.schema
[Groovy] Class Element

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

class Element
extends Declaration

Field Summary
 
Fields inherited from class XMLElement
namespaces
 
Property Summary
Annotation annotation

String defaultValue

TypeDefinition embeddedType

String fixedValue

String maxOccurs

String minOccurs

boolean nillable

QName ref

boolean toplevel

 
Method Summary
def compare(AbstractDiffGenerator generator, def other, DiffGeneratorContext ctx = new DiffGeneratorContext()

def create(def creator, CreatorContext ctx)

String getBuildInTypeNameLocal()

protected def getElementName()

String getForm()

String getRequest(def formParams)

ComplexType newComplexType()

protected def parseAttributes(def token, def params)

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

String toString()

 
Methods inherited from class Declaration
getBuildInTypeName, getQname, parseAttributes, setType, setType
 
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
 

Property Detail

annotation

Annotation annotation


defaultValue

String defaultValue


embeddedType

TypeDefinition embeddedType


fixedValue

String fixedValue


maxOccurs

String maxOccurs


minOccurs

String minOccurs


nillable

boolean nillable


ref

QName ref


toplevel

boolean toplevel


 
Method Detail

compare

def compare(AbstractDiffGenerator generator, def other, DiffGeneratorContext ctx = new DiffGeneratorContext()


create

def create(def creator, CreatorContext ctx)


getBuildInTypeNameLocal

String getBuildInTypeNameLocal()


getElementName

protected def getElementName()


getForm

String getForm()


getRequest

String getRequest(def formParams)


newComplexType

ComplexType newComplexType()


parseAttributes

protected def parseAttributes(def token, def params)


parseChildren

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


toString

String toString()


 

Groovy Documentation