|
RichFaces Examples Template 4.3.1.Final | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.richfaces.example.XMLBody
public class XMLBody
This class must read XML file from input stream and can extract body of root element for include into target in generation.
| Constructor Summary | |
|---|---|
XMLBody()
|
|
| Method Summary | |
|---|---|
NodeList |
getByXpath(String xpath)
|
NodeList |
getByXpathUnique(String xpath,
String keyXPath,
Set<String> keySet)
|
String |
getContent()
|
String |
getContent(String xpath)
|
String |
getContentUnique(String xpath,
String keyXPath,
Set<String> keySet)
|
String |
getDoctype()
|
String |
getPiblicId()
|
String |
getRootTypeName()
|
boolean |
isRootName(String name)
Check name of root element is as expected. |
void |
loadXML(InputStream input)
Load XML document and parse it into DOM. |
void |
loadXML(InputStream input,
boolean namespaceAware)
Load XML document and parse it into DOM. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XMLBody()
| Method Detail |
|---|
public void loadXML(InputStream input)
throws ParsingException
input -
ParsingException
public void loadXML(InputStream input,
boolean namespaceAware)
throws ParsingException
input -
ParsingExceptionpublic boolean isRootName(String name)
name -
public String getDoctype()
public String getPiblicId()
public String getRootTypeName()
public String getContent()
throws ParsingException
ParsingException
public String getContent(String xpath)
throws ParsingException
ParsingException
public NodeList getByXpath(String xpath)
throws ParsingException
ParsingException
public NodeList getByXpathUnique(String xpath,
String keyXPath,
Set<String> keySet)
throws ParsingException
ParsingException
public String getContentUnique(String xpath,
String keyXPath,
Set<String> keySet)
throws ParsingException
ParsingException
|
RichFaces Examples Template 4.3.1.Final | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||