public class GlobalComplexType extends ComplexType
complexType
from an XML schema.
A complex type may contain element content and may have attributes.attributes, elements
Constructor and Description |
---|
GlobalComplexType() |
GlobalComplexType(TranscriptionConfiguration configuration,
ElementDescriptor elementDescriptor,
Schema schema)
Constructs a new ComplexType from the descriptor given.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
protected void |
fill(TranscriptionConfiguration configuration,
ElementDescriptor elementDescriptor,
Schema schema)
Fills the complex type description.
|
String |
getName()
Gets the name of this type.
|
int |
hashCode() |
protected void |
init(TranscriptionConfiguration configuration,
ElementDescriptor elementDescriptor,
Schema schema) |
boolean |
matches(ElementDescriptor elementDescriptor)
Does the given element descriptor match this complex type?
|
void |
setName(String string)
Sets the name of this type.
|
String |
toString() |
addAttribute, addElement, addElement, fillDescriptor, getAttributes, getElements
public GlobalComplexType()
public GlobalComplexType(TranscriptionConfiguration configuration, ElementDescriptor elementDescriptor, Schema schema) throws IntrospectionException
elementDescriptor
- IntrospectionException
protected void init(TranscriptionConfiguration configuration, ElementDescriptor elementDescriptor, Schema schema) throws IntrospectionException
init
in class ComplexType
IntrospectionException
protected void fill(TranscriptionConfiguration configuration, ElementDescriptor elementDescriptor, Schema schema) throws IntrospectionException
configuration
- elementDescriptor
- schema
- IntrospectionException
public boolean matches(ElementDescriptor elementDescriptor)
elementDescriptor
- public String getName()
public void setName(String string)
string
- Copyright © 2002-2013 Apache Software Foundation. All Rights Reserved.