|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.xefer.rebel.XBELElementFactory
Constructs XBELElements
Constructor Summary | |
(package private) |
XBELElementFactory()
|
Method Summary | |
static String |
convertURLtoXPath(String path)
Convert the given url path into an XPath |
static XBELElement |
generateElement(Document document,
String path)
generateElement Construct an XBELElement at the given path |
static XBELElement |
getElement(Document document,
String path)
getElement Convert the given url path into an XPath and extract the appropriate node from the given XML Document. |
static XBELElement |
newElement(Document document)
newElement Convert the given url path into an XPath and extract the appropriate node from the given XML Document |
static XBELElement |
newElement(Document document,
String path)
newElement Convert the given url path into an XPath and extract the appropriate node from the given XML Document |
static XBELElement |
newElement(Element element)
newElement Convert the given url path into an XPath and extract the appropriate node from the given XML Document |
static XBELElement |
newElement(InputStream istream)
newElement Convert the given url path into an XPath then extract the appropriate node from the given XML Document |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
XBELElementFactory()
Method Detail |
public static String convertURLtoXPath(String path)
path
- String
a url encoded path to be converted to an xpathString
an XPath representation of the Stringpublic static XBELElement generateElement(Document document, String path) throws ResourceException
document
- Document
the owning document.path
- String
a url where the resource is to be createdXBELElement
the Element generatedpublic static XBELElement getElement(Document document, String path) throws ResourceException
document
- Document
a url encoded path to be converted to an xpathpath
- String
a url encoded path to be converted to an xpathXBELElement
the Element (if any) referenced by the converted pathpublic static XBELElement newElement(Document document) throws ResourceException
document
- Document
a url encoded path to be converted to an xpathXBELElement
the Element (if any) referenced by the converted pathpublic static XBELElement newElement(Document document, String path) throws ResourceException
document
- Document
a url encoded path to be converted to an xpathpath
- String
a url encoded path to be converted to an xpathXBELElement
the Element (if any) referenced by the converted pathpublic static XBELElement newElement(Element element) throws ResourceException
element
- Element
a url encoded path to be converted to an xpathXBELElement
the Element (if any) referenced by the converted pathpublic static XBELElement newElement(InputStream istream) throws ResourceException
istream
- InputStream
an XML document containing resource elementsXBELElement
the Element (if any) referenced by the converted path
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |