|
||||||||||
| 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.IncludeElement
public class IncludeElement
Model component for include element of binding definition. During
prevalidation this reads the included binding definition. All further
processing of the included components needs to be handled directly by the
tree walking code in TreeContext, since the
components of the included binding need to be treated as though they were
direct children of the container of this element (and accessed in the
appropriate order).
| Field Summary | |
|---|---|
static StringArray |
s_allowedAttributes
Enumeration of allowed attribute names |
| 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 | |
|---|---|
IncludeElement()
Constructor. |
|
| Method Summary | |
|---|---|
BindingElement |
getBinding()
Get the included binding model. |
String |
getIncludePath()
Get path to included binding. |
boolean |
isPrecompiled()
Check if precompiled binding. |
void |
prevalidate(ValidationContext vctx)
Prevalidate element information. |
void |
setIncludePath(String path)
Set path to included binding. |
void |
setPrecompiled(boolean precomp)
Set precompiled binding flag. |
| Methods inherited from class org.jibx.binding.model.NestingElementBase |
|---|
addChild, childIterator, children, getDefaultStyle, getDefinitions, getStyle, getStyleName, setStyleName, validate |
| 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 |
| Field Detail |
|---|
public static final StringArray s_allowedAttributes
| Constructor Detail |
|---|
public IncludeElement()
| Method Detail |
|---|
public void setIncludePath(String path)
path - public String getIncludePath()
public BindingElement getBinding()
null if redundant includepublic boolean isPrecompiled()
true if precompiled, false if notpublic void setPrecompiled(boolean precomp)
precomp - public void prevalidate(ValidationContext vctx)
ElementBase
prevalidate in class NestingElementBasevctx - validation context
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||