|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.wurbelizer.SourceSubElement
org.wurbelizer.SourceWurbletSubElement
public class SourceWurbletSubElement
Wurblet anchor within a SourceElement.
A wurblet anchor is of the form:
@wurblet[(wurbler-args...)]The optional wurbler args must be enclosed in parantheses and are directives for the container that executes the wurblets. The guardname is mandatory and must be unique within the source file, except if an inline wurblet (-,+,<,>). The wurbletname is the classname of the wurblet and may be given either as an absolute classname (containing dots) or a relative name which the wurbler will expand according to some given wurblet path. The optional wurblet arguments are passed through the[wurblet-args ...]
ArgScanner.
| Constructor Summary | |
|---|---|
SourceWurbletSubElement(SourceElement element,
String text)
Creates a sub element. |
|
| Method Summary | |
|---|---|
String[] |
getWurblerArgs()
Gets the wurbler (wurblet container) args. |
String[] |
getWurbletArgs()
Gets the wurblet args. |
String |
getWurbletName()
Gets the name of the wurblet. |
boolean |
isInline()
Checks if this is an inline wurblet. |
boolean |
isInlineNextBlock()
Checks whether this is an inline wurblet related the next code block. |
boolean |
isInlinePreviousBlock()
Checks whether this is an inline wurblet related the previous code block. |
void |
setWurblerArgs(String[] wurblerArgs)
Sets the wurbler (wurblet container) args |
void |
setWurbletArgs(String[] wurbletArgs)
Sets the wurblet args. |
void |
setWurbletName(String wurbletName)
Sets the name of the wurblet. |
String |
toString()
Prints the name of the subelement/element/document. |
| Methods inherited from class org.wurbelizer.SourceSubElement |
|---|
getElement, getName, getText, setName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SourceWurbletSubElement(SourceElement element,
String text)
throws SourceException
element - the SourceElement containing the sub element.text - the contents of the sub element
SourceException - if creation failed| Method Detail |
|---|
public boolean isInlinePreviousBlock()
public boolean isInlineNextBlock()
public boolean isInline()
public String getWurbletName()
public void setWurbletName(String wurbletName)
wurbletName - the name of the wurbetpublic String[] getWurbletArgs()
public void setWurbletArgs(String[] wurbletArgs)
wurbletArgs - the argspublic String[] getWurblerArgs()
public void setWurblerArgs(String[] wurblerArgs)
wurblerArgs - the argspublic String toString()
toString in class SourceSubElement
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||