|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jibx.binding.model.ElementBase
org.jibx.binding.model.NestingElementBase
org.jibx.binding.model.ContainerElementBase
org.jibx.binding.model.TemplateElementBase
org.jibx.binding.model.TemplateElement
public class TemplateElement
Model component for template element of binding definition.
| Field Summary |
|---|
| Fields inherited from class org.jibx.binding.model.TemplateElementBase |
|---|
m_topChildren, s_allowedAttributes |
| Fields inherited from class org.jibx.binding.model.ElementBase |
|---|
BINDING_ELEMENT, COLLECTION_ELEMENT, ELEMENT_NAMES, FORMAT_ELEMENT, INCLUDE_ELEMENT, INPUT_ELEMENT, MAPPING_ELEMENT, NAMESPACE_ELEMENT, OUTPUT_ELEMENT, SPLIT_ELEMENT, STRUCTURE_ELEMENT, TEMPLATE_ELEMENT, VALUE_ELEMENT |
| Constructor Summary | |
|---|---|
TemplateElement()
Default constructor. |
|
| Method Summary | |
|---|---|
String |
getBaseName()
Get base type name. |
NamespaceElement |
getBaseNamespace()
Get effective namespace information for base type. |
String |
getBasePrefix()
Get namespace URI specified for base type. |
String |
getBaseUri()
Get namespace URI specified for base type. |
TemplateElement |
getExtendsMapping()
Get template extended by this one. |
String |
getLabel()
Get template label. |
String |
getTypeName()
Get type name. |
NamespaceElement |
getTypeNamespace()
Get effective namespace information for type. |
String |
getTypePrefix()
Get namespace prefix specified for type. |
String |
getTypeUri()
Get namespace URI specified for type. |
boolean |
isDefaultTemplate()
Check if default template for type. |
void |
prevalidate(ValidationContext vctx)
Prevalidate attributes of element in isolation. |
void |
setBaseName(String name)
Set base type name. |
void |
setBasePrefix(String prefix)
Set base type namespace prefix. |
void |
setBaseUri(String uri)
Set base type namespace URI. |
void |
setDefaultTemplate(boolean dflt)
Set default template for type flag. |
void |
setLabel(String label)
Set template label. |
void |
setTypeName(String name)
Set type name. |
void |
setTypePrefix(String prefix)
Set type namespace prefix. |
void |
setTypeUri(String uri)
Set type namespace URI. |
| Methods inherited from class org.jibx.binding.model.TemplateElementBase |
|---|
addExtensionType, addTopChild, getClassName, getExtensionTypes, getHandledClass, getObjectType, getType, hasObject, isImplicit, isOptional, setClassName, topChildIterator, topChildren, validate |
| Methods inherited from class org.jibx.binding.model.NestingElementBase |
|---|
addChild, childIterator, children, getDefaultStyle, getDefinitions, getStyle, getStyleName, setStyleName |
| Methods inherited from class org.jibx.binding.model.ElementBase |
|---|
getComment, name, setComment, toString, type, validateAttributes |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TemplateElement()
| Method Detail |
|---|
public String getLabel()
getLabel in class ContainerElementBasenull if none)public void setLabel(String label)
setLabel in class ContainerElementBaselabel - template label (null if none)public boolean isDefaultTemplate()
isDefaultTemplate in class TemplateElementBasetrue if default for type, false if notpublic void setDefaultTemplate(boolean dflt)
dflt - true if default for type, false if
notpublic String getTypeName()
public void setTypeName(String name)
name - text for type namepublic String getTypeUri()
null if not set)public void setTypeUri(String uri)
uri - type namespace URI (null if not set)public String getTypePrefix()
null if not set)public void setTypePrefix(String prefix)
prefix - namespace prefix (null if not set)public NamespaceElement getTypeNamespace()
public TemplateElement getExtendsMapping()
public String getBaseName()
public void setBaseName(String name)
name - text for base type namepublic String getBaseUri()
null if not set)public void setBaseUri(String uri)
uri - base type namespace URI (null if if not set)public String getBasePrefix()
null if not set)public void setBasePrefix(String prefix)
prefix - base type namespace prefix (null if not set)public NamespaceElement getBaseNamespace()
public void prevalidate(ValidationContext vctx)
prevalidate in class TemplateElementBasevctx - validation context
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||