Uses of Class
org.backsource.utils.xml.XmlException

Packages that use XmlException
org.backsource.utils.ant Some Ant tasks. 
org.backsource.utils.xml Utils to make it easier and faster to work with XML document, either as files, DOM trees or strings. 
 

Uses of XmlException in org.backsource.utils.ant
 

Methods in org.backsource.utils.ant that throw XmlException
protected  void XmlFilter.doTransform(org.w3c.dom.Node root)
           
 

Uses of XmlException in org.backsource.utils.xml
 

Methods in org.backsource.utils.xml that throw XmlException
 void Catalog.setBaseUri(java.lang.String baseUri)
           
 void Catalog.configure(org.w3c.dom.Document doc)
          Configure from an OASIS xml document.
static java.lang.String DocumentUtil.getXml(org.w3c.dom.Node node)
          Get the serialized XML from node.
static java.lang.String DocumentUtil.getXml(org.w3c.dom.Node node, boolean indent, java.lang.String encoding, boolean omitDecl)
          Return the string XML rep of node.
static void DocumentUtil.replace(org.w3c.dom.Node oldNode, org.w3c.dom.Node newNode)
          Replace oldNode with newNode and its children, importing the new node if needed.
static org.w3c.dom.DocumentFragment DocumentUtil.getDocumentFragment(java.lang.String xml, boolean forceElementTree)
          Create a DocumentFragment from the XML given i string.
static org.w3c.dom.DocumentFragment DocumentUtil.getDocumentFragment(org.w3c.dom.Node node)
          Create a document fragment around the node and its children, which are cloned.
static org.w3c.dom.Document DocumentUtil.createDocument(org.w3c.dom.Node node)
          Create a new Document from the node, where node becomes the new root node and all its children the rest of the document.
static org.w3c.dom.Element DocumentUtil.getDocumentElement(java.lang.String xml)
          Create a DOM from string and return its root element.
static org.w3c.dom.Document DocumentUtil.getDocument(java.lang.String xml)
          Get DOM document from xml string-
static org.w3c.dom.Document DocumentUtil.getDocument(java.io.File file)
          If reading from a file, use this, since it will set the SystemId.
static org.w3c.dom.Document DocumentUtil.getDocument(java.io.Reader reader)
           
static org.w3c.dom.Document DocumentUtil.getDocument(java.io.InputStream stream)
           
static org.w3c.dom.Document DocumentUtil.getDocument(org.xml.sax.InputSource is)
          FIXME: Here we could fix our own factory/prop stuff to use alternative builders than system default.
static java.util.List ElementUtil.getElements(org.w3c.dom.Element element)
          Get all element children of element.
static java.util.List ElementUtil.getElementsByTagName(org.w3c.dom.Element element, java.lang.String tagName)
          Get all element children of element whitch match tagName
static org.w3c.dom.Element ElementUtil.getOptionalChild(org.w3c.dom.Element element, java.lang.String tagName)
          Gets the child of the specified element having the specified name.
static org.w3c.dom.Element ElementUtil.getOptionalChild(org.w3c.dom.Element element, java.lang.String tagName, org.w3c.dom.Element defaultElement)
          Gets the child of the specified element having the specified name.
static org.w3c.dom.Element ElementUtil.getUniqueChild(org.w3c.dom.Element element, java.lang.String tagName)
          Gets the child of the specified element having the specified unique name.
static void ElementUtil.setContent(org.w3c.dom.Element element, java.lang.String content)
          Set the text content of this element.
static void ElementUtil.setElement(org.w3c.dom.Element element, org.w3c.dom.Element content)
          Set element as a child element, removing all old elements.
static void ElementUtil.setElement(org.w3c.dom.Element element, org.w3c.dom.DocumentFragment content)
          Set DocumentFragment as a child element, removing all old elements.
static java.lang.String ElementUtil.getAttribute(org.w3c.dom.Element element, java.lang.String name)
          Get attribute with name name from element, only return a non null value if the attribute was not null and not an empty string.
static java.lang.String ElementUtil.getAttribute(org.w3c.dom.Element element, java.lang.String name, java.lang.String defaultValue)
          Get attribute with name name from element, only return a non null value if the attribute was not null and not an empty string, otherwise return defaultValue.
static int ElementUtil.getAttributeAsInt(org.w3c.dom.Element e, java.lang.String name)
          Get the an attribute as an int
static long ElementUtil.getAttributeAsLong(org.w3c.dom.Element e, java.lang.String name)
          Get the an attribute as a long
static boolean ElementUtil.getAttributeAsBoolean(org.w3c.dom.Element e, java.lang.String name)
          Get the an attribute as a boolean.
static float ElementUtil.getAttributeAsFloat(org.w3c.dom.Element e, java.lang.String name)
          Get the an attribute as a float.
protected static org.jaxen.XPath XPathUtil.getDOMXPath(java.lang.String xpath)
          Get the DOM specifix XPath engine.
static org.w3c.dom.Node XPathUtil.selectSingleNode(org.w3c.dom.Node xml, java.lang.String xpath)
          Select a single node from node based on xpath.
static java.util.List XPathUtil.selectNodes(org.w3c.dom.Node xml, java.lang.String xpath)
          Select all nodes from node based on xpath.
static void XmlBeanUtil.setXmlProperty(org.w3c.dom.Node xml, java.lang.String xpath, java.lang.Object value)
          Set value in node based on xpath.
static void XmlBeanUtil.setXmlProperty(org.w3c.dom.Node xml, java.lang.String xpath, java.lang.Object bean, java.lang.String prop)
          Set value in node base on xpath and derived from bean with property prop.
static void XmlBeanUtil.setBeanProperty(java.lang.Object bean, java.lang.String prop, org.w3c.dom.Node xml, java.lang.String xpath)
          Set the property in the given bean, getting the value from the Node specifyed with xpath.
static java.lang.String XmlBeanUtil.getXmlProperty(org.w3c.dom.Node xml, java.lang.String xpath)
          Get the value from node the xpath points at.
static java.lang.String[] XmlBeanUtil.getXmlArrayProperty(org.w3c.dom.Node xml, java.lang.String xpath)
          Get the values from node the xpath points at.
static java.lang.String XmlBeanUtil.getValue(org.w3c.dom.Node node)
          Get the String value from node
static void XmlBeanUtil.setValue(org.w3c.dom.Node node, java.lang.Object value)
          Set the value of node with object.
static boolean XmlBeanUtil.containsElementChildren(org.w3c.dom.Node node)
          Ckeck if node contains any Element children.
 

Constructors in org.backsource.utils.xml that throw XmlException
Catalog(java.lang.String baseUri)
           
 



Copyright © 2000-2004 Backsource. All Rights Reserved.