| |
|
| java.lang.Object org.jibx.binding.model.ElementBase org.jibx.binding.model.NestingElementBase org.jibx.binding.model.ContainerElementBase org.jibx.binding.model.StructureElementBase org.jibx.binding.model.StructureElement
StructureElement | public class StructureElement extends StructureElementBase (Code) | | Model component for structure element of binding definition.
author: Dennis M. Sosnoski |
s_allowedAttributes | final public static StringArray s_allowedAttributes(Code) | | Enumeration of allowed attribute names
|
StructureElement | public StructureElement()(Code) | | Default constructor.
|
classifyComponents | protected void classifyComponents(ValidationContext vctx)(Code) | | Classify child components as contributing attributes, content, or both.
This method is needed to handle on-demand classification during
validation. When a child component is another instance of this class, the
method calls itself on the child component prior to checking the child
component's contribution.
Parameters: vctx - |
getEffectiveMapping | public TemplateElementBase getEffectiveMapping()(Code) | | Get actual type mapping. This call is only meaningful after validation.
actual type mapping (or null if none) |
getMapAsName | public String getMapAsName()(Code) | | Get name of mapping type.
mapping type name (or null if none) |
getMapAsQName | public QName getMapAsQName()(Code) | | Get qualified name of mapping type.
mapping qualified type name (or null if none) |
hasAttribute | public boolean hasAttribute()(Code) | | |
hasContent | public boolean hasContent()(Code) | | |
hasName | public boolean hasName()(Code) | | |
setMapAsName | public void setMapAsName(String name)(Code) | | Set name of mapping type. This method changes the qualified name to
match the mapping type.
Parameters: name - mapping type name (or null if none) |
setMapAsQName | public void setMapAsQName(QName name)(Code) | | Set qualified name of mapping type. This method changes the mapping name
to match the qualified name.
Parameters: name - mapping qualified type name (or null if none) |
|
|
|