|
||||||
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 | |
---|---|
private BindingElement |
m_binding
Object model for included binding. |
private java.lang.String |
m_includePath
Path to included binding definition. |
private boolean |
m_precompiled
Included binding precompiled flag. |
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. |
java.lang.String |
getIncludePath()
Get path to included binding. |
boolean |
isPrecompiled()
Check if precompiled binding. |
private void |
preSet(IUnmarshallingContext uctx)
Make sure all attributes are defined. |
void |
prevalidate(ValidationContext vctx)
Prevalidate element information. |
void |
setIncludePath(java.lang.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, setDefinitions, 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
private java.lang.String m_includePath
private boolean m_precompiled
private BindingElement m_binding
Constructor Detail |
---|
public IncludeElement()
Method Detail |
---|
public void setIncludePath(java.lang.String path)
path
- public java.lang.String getIncludePath()
public BindingElement getBinding()
null
if redundant includepublic boolean isPrecompiled()
true
if precompiled, false
if notpublic void setPrecompiled(boolean precomp)
precomp
- private void preSet(IUnmarshallingContext uctx) throws JiBXException
uctx
- unmarshalling context
JiBXException
- on unmarshalling errorpublic void prevalidate(ValidationContext vctx)
ElementBase
prevalidate
in class NestingElementBase
vctx
- validation context
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |