public class IncludeElement extends NestingElementBase
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).| Modifier and Type | Field and Description |
|---|---|
static StringArray |
s_allowedAttributes
Enumeration of allowed attribute names
|
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 and Description |
|---|
IncludeElement()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
addChild, childIterator, children, getDefaultStyle, getDefinitions, getStyle, getStyleName, setStyleName, validategetComment, name, setComment, toString, type, validateAttributespublic static final StringArray s_allowedAttributes
public void setIncludePath(String path)
path - Pathpublic String getIncludePath()
public BindingElement getBinding()
null if redundant includepublic boolean isPrecompiled()
true if precompiled, false if notpublic void setPrecompiled(boolean precomp)
precomp - Flagpublic void prevalidate(ValidationContext vctx)
ElementBaseprevalidate in class NestingElementBasevctx - validation contextCopyright © 2005–2016 jibx.org. All rights reserved.