|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.event.xml.SchemaElementComplex
public class SchemaElementComplex
Represents a complex element possibly with attributes, simple elements, other complex child elements and may itself have a simple type.
Constructor Summary | |
---|---|
SchemaElementComplex(java.lang.String name,
java.lang.String namespace,
java.util.List<SchemaItemAttribute> attributes,
java.util.List<SchemaElementComplex> children,
java.util.List<SchemaElementSimple> simpleElements,
boolean isArray,
java.lang.Short optionalSimpleType,
java.lang.String optionalSimpleTypeName)
Ctor. |
Method Summary | |
---|---|
java.util.List<SchemaItemAttribute> |
getAttributes()
Returns attributes. |
java.util.List<SchemaElementComplex> |
getChildren()
Returns attributes. |
java.lang.String |
getName()
Returns the name. |
java.lang.String |
getNamespace()
Returns the namespace. |
java.lang.Short |
getOptionalSimpleType()
Null if not a simple type declared, or type if declared. |
java.lang.String |
getOptionalSimpleTypeName()
Returns type name if itself has a type. |
java.util.List<SchemaElementSimple> |
getSimpleElements()
Returns simple child elements. |
boolean |
isArray()
Returns true if unbound or max greater one. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SchemaElementComplex(java.lang.String name, java.lang.String namespace, java.util.List<SchemaItemAttribute> attributes, java.util.List<SchemaElementComplex> children, java.util.List<SchemaElementSimple> simpleElements, boolean isArray, java.lang.Short optionalSimpleType, java.lang.String optionalSimpleTypeName)
name
- the element namenamespace
- the element namespaceattributes
- the attributes or empty if nonechildren
- the child complex elements or empty if nonesimpleElements
- the simple elements or empty if noneisArray
- if unbound or max>1optionalSimpleType
- if the element does itself have a typeoptionalSimpleTypeName
- if the element does itself have a typeMethod Detail |
---|
public java.lang.String getName()
getName
in interface SchemaElement
public java.lang.String getNamespace()
SchemaElement
getNamespace
in interface SchemaElement
public java.util.List<SchemaItemAttribute> getAttributes()
public java.util.List<SchemaElementComplex> getChildren()
public java.util.List<SchemaElementSimple> getSimpleElements()
public boolean isArray()
isArray
in interface SchemaElement
public java.lang.Short getOptionalSimpleType()
public java.lang.String getOptionalSimpleTypeName()
public java.lang.String toString()
toString
in class java.lang.Object
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |