| java.lang.Object com.jat.util.xml.XMLUtil
Method Summary | |
public static void | addStrangeChar(int hashCode, String replaceString) | public static boolean | checkNodeType(short type) | public static Vector | getAllAttributeNode(Node node) | public static Vector | getAllCDataSectionNode(Node node) | public static Vector | getAllChlidren(Node node, String childName) | public static Vector | getAllCommentNode(Node node) | public static Vector | getAllDocumentFragmentNode(Node node) | public static Vector | getAllElementNode(Node node) | public static Vector | getAllEntityNode(Node node) | public static Vector | getAllNodes(Node node, short type) | protected static void | getAllNodes(Node node, short type, Vector nodes) | protected static void | getAllNodes(Node node, short type, String nodeName, Vector nodes) | public static Vector | getAllNotationNode(Node node) | public static Vector | getAllProcessingInstructionNode(Node node) | public static Vector | getAllTextNode(Node node) | public static Attr | getAttribute(Node node, String attrName) | protected static void | getXML(Node node) | public static XMLDocument | getXMLDocument(File xmlFile, boolean validate) | public static XMLDocument | getXMLDocument(File xmlFile, boolean validate, boolean coalescing) | public static XMLDocument | getXMLDocument(String xml, boolean validate) | public static XMLDocument | getXMLDocument(String xml, boolean validate, boolean coalescing) | public static XMLDocument | getXMLDocumentByFilename(String xmlFile, boolean validate) | public static String | getXMLString(Node node) | public static String | parseAttribute(String _s) | public static String | parseText(String _s) | public static void | removeAllChildNode(Node node) | protected static String | replace(String str, String s1, String s2) | protected static String | replaceStranger(String line) | public static void | saveXML(String filename, Node node) |
DEBUG | final protected static boolean DEBUG(Code) | | |
STYLESHEET_NODE_NAME | final public static String STYLESHEET_NODE_NAME(Code) | | |
addStrangeChar | public static void addStrangeChar(int hashCode, String replaceString)(Code) | | add character codification
Parameters: hashCode - Parameters: replaceString - |
checkNodeType | public static boolean checkNodeType(short type)(Code) | | check if type 'type' is recgnized as Node type
Parameters: type - |
getAllAttributeNode | public static Vector getAllAttributeNode(Node node)(Code) | | return all Attribute node children of node 'node'
Parameters: node - |
getAllCDataSectionNode | public static Vector getAllCDataSectionNode(Node node)(Code) | | return all DataSection node children of node 'node'
Parameters: node - |
getAllCommentNode | public static Vector getAllCommentNode(Node node)(Code) | | return all Comment node children of node 'node'
Parameters: node - |
getAllDocumentFragmentNode | public static Vector getAllDocumentFragmentNode(Node node)(Code) | | return all DocumentFragmenter node children of node 'node'
Parameters: node - |
getAllElementNode | public static Vector getAllElementNode(Node node)(Code) | | return all Element node children of node 'node'
Parameters: node - |
getAllEntityNode | public static Vector getAllEntityNode(Node node)(Code) | | return all Entity node children of node 'node'
Parameters: node - |
getAllNodes | public static Vector getAllNodes(Node node, short type)(Code) | | return all node children of node 'node' of the type 'type'
Parameters: node - Parameters: type - |
getAllNodes | protected static void getAllNodes(Node node, short type, Vector nodes)(Code) | | |
getAllNotationNode | public static Vector getAllNotationNode(Node node)(Code) | | return all Notation node children of node 'node'
Parameters: node - |
getAllProcessingInstructionNode | public static Vector getAllProcessingInstructionNode(Node node)(Code) | | return all ProcessingInstruction node children of node 'node'
Parameters: node - |
getAllTextNode | public static Vector getAllTextNode(Node node)(Code) | | return all Text node children of node 'node'
Parameters: node - |
getXML | protected static void getXML(Node node)(Code) | | |
getXMLString | public static String getXMLString(Node node)(Code) | | return the String representin gthe XML format from the node "node"
Parameters: node - |
removeAllChildNode | public static void removeAllChildNode(Node node)(Code) | | Remove all childern of node 'node'
Parameters: node - |
|
|