|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.translet.helper.DomUtils
| Constructor Summary | |
DomUtils()
|
|
| Method Summary | |
static Node |
getFirstChildWithIndex(Node root,
String tagName,
int position)
Returns a node with tagname and at the specified position. |
static Node |
getFirstChildWithTag(Node root,
String tagName)
|
static Document |
parse(InputStream is,
String encoding,
Properties p)
|
static String |
serialize(Node n)
|
static String |
serialize(Node n,
org.apache.xml.serialize.OutputFormat format)
|
static void |
serialize(Node n,
OutputStream outStream)
|
static void |
serialize(Node n,
OutputStream outStream,
org.apache.xml.serialize.OutputFormat format)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DomUtils()
| Method Detail |
public static String serialize(Node n)
throws IOException
public static String serialize(Node n,
org.apache.xml.serialize.OutputFormat format)
throws IOException
public static void serialize(Node n,
OutputStream outStream)
throws IOException
public static void serialize(Node n,
OutputStream outStream,
org.apache.xml.serialize.OutputFormat format)
throws IOException
public static Node getFirstChildWithIndex(Node root,
String tagName,
int position)
public static Node getFirstChildWithTag(Node root,
String tagName)
public static Document parse(InputStream is,
String encoding,
Properties p)
throws SAXException,
IOException,
ParserConfigurationException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||