|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectthinkmap.xmlconfig.tags.Include
public class Include
Include brings another xml config file into the current file. It is similar in concept to a C, JSP, and Apache Server-Side Includes. Elements that are given ids in the included file may be given ids in the local file with the 'ref' element.
| Nested Class Summary | |
|---|---|
class |
Include.Ref
Reference an object in the imported document, and give it a local id. |
| Constructor Summary | |
|---|---|
Include()
|
|
| Method Summary | |
|---|---|
void |
addRef(Include.Ref r)
|
XObject |
build(Assembler assembler,
ConfigElement thisElement,
ConfigElement parent,
XObject object,
XObject parentObject)
|
Include.Ref |
createParam()
|
Include.Ref |
createRef()
|
URL |
getHref()
Get the url of the file to include. |
String |
getId()
Returns the id that the property handler the included config will be stored as. |
String |
getLocalId()
Get the local id. |
Include.Ref[] |
getRefs()
|
void |
setHref(URL url)
Set the url of the file to be included. |
void |
setId(String handlerid)
Sets the id that the property handler the included config will be stored as. |
void |
setLocalId(String s)
Set the local id. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Include()
| Method Detail |
|---|
public void setHref(URL url)
url - url of the file to be includedpublic void setLocalId(String s)
s - local idpublic String getLocalId()
public URL getHref()
public String getId()
public void setId(String handlerid)
Sets - the id that the property handler the included config will be stored as.public Include.Ref createRef()
public Include.Ref createParam()
public void addRef(Include.Ref r)
public Include.Ref[] getRefs()
public XObject build(Assembler assembler,
ConfigElement thisElement,
ConfigElement parent,
XObject object,
XObject parentObject)
throws XMLException
build in interface IConfigTagXMLException
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||