|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cookxml.core.util.IncludeUtils
Constructor Summary | |
IncludeUtils()
|
Method Summary | |
static DocumentElement |
getElement(String includeStr,
ClassLoader classLoader,
Document docRoot,
DocumentBuilder builder)
This function is used to find the element to be included. |
static DocumentElement |
getElement(String includeStr,
DecodeEngine decodeEngine)
This function is used to find the element to be included. |
static DocumentElement |
getElement(String includeStr,
Document docRoot,
DocumentBuilder builder)
This function is used to find the element to be included. |
static Element |
getElementById(Element rootElm,
String id)
This function retrieves the element in the document that has the given id. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public IncludeUtils()
Method Detail |
public static DocumentElement getElement(String includeStr, DecodeEngine decodeEngine) throws Exception
includeStr
- the "pointer" to the element to be added.decodeEngine
- the DecodeEngine that is being used.
Exception
public static DocumentElement getElement(String includeStr, Document docRoot, DocumentBuilder builder) throws Exception
includeStr
- the "pointer" to the element to be added.builder
- the XML parser.docRoot
- the root of the current document.
Exception
public static DocumentElement getElement(String includeStr, ClassLoader classLoader, Document docRoot, DocumentBuilder builder) throws Exception
includeStr
- the "pointer" to the element to be added.builder
- the XML parser.docRoot
- the root of the current document.
Exception
public static Element getElementById(Element rootElm, String id)
rootElm
- the current rootid
- the id
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |