| java.lang.Object org.openharmonise.commons.xml.XMLDocument org.openharmonise.rm.publishing.HarmoniseOutput
HarmoniseOutput | public class HarmoniseOutput extends XMLDocument (Code) | | An extension to XMLDocument which can hold the output
of the publication of resources specified by input HaRP and provides
some utility methods relevant to HaRP output.
author: Michael Bell version: $Revision: 1.2 $ |
addPageIdToLinkNode | public void addPageIdToLinkNode(User usr, Element el, int nPageId)(Code) | | Adds a Page element under the link node found under el with the given page id.
Parameters: el - Element with descendant Link element Parameters: output - Output document Parameters: nPageId - Page id of page element to be added |
createErrorElement | public Element createErrorElement(String error_code, Element form_element)(Code) | | Create an error XML element in the document.
Parameters: error_code - Code of the error to create Parameters: form - that has set the error, if one exists |
processSubmitTag | public Element processSubmitTag(Element submit, State state)(Code) | | Utility method to ease processing of Submit buttons.
exception: Exception - Parameters: submit - Submit element from input XML Parameters: state - State XML document Parameters: output - Output XML document, passed because Xerces requiresNodes to be owned by Document Output Submit element, null if failed FilterConditions |
Methods inherited from org.openharmonise.commons.xml.XMLDocument | public Node appendChild(Node arg0) throws DOMException(Code)(Java Doc) public Node cloneNode(boolean arg0)(Code)(Java Doc) public static boolean compareElement(Element origEl, Element compEl)(Code)(Java Doc) public void copyChildren(Element parent_destination, Element parent_source)(Code)(Java Doc) public void copyChildren(Element parent_destination, Element parent_source, Vector ignoreTags)(Code)(Java Doc) public Node copyNode(Node originalEl)(Code)(Java Doc) public Attr createAttribute(String arg0) throws DOMException(Code)(Java Doc) public Attr createAttributeNS(String arg0, String arg1) throws DOMException(Code)(Java Doc) public CDATASection createCDATASection(String arg0) throws DOMException(Code)(Java Doc) public Comment createComment(String arg0)(Code)(Java Doc) public DocumentFragment createDocumentFragment()(Code)(Java Doc) public Element createElement(String arg0) throws DOMException(Code)(Java Doc) public Element createElementNS(String arg0, String arg1) throws DOMException(Code)(Java Doc) public EntityReference createEntityReference(String arg0) throws DOMException(Code)(Java Doc) public ProcessingInstruction createProcessingInstruction(String arg0, String arg1) throws DOMException(Code)(Java Doc) public Text createTextNode(String arg0)(Code)(Java Doc) public static String elementInfo(Element element)(Code)(Java Doc) public boolean equals(Object arg0)(Code)(Java Doc) public static Element findElement(Element sourceEl, Element toFindEl)(Code)(Java Doc) public NamedNodeMap getAttributes()(Code)(Java Doc) public NodeList getChildNodes()(Code)(Java Doc) public static String getChildTextNodeValue(Element xmlElement)(Code)(Java Doc) public DocumentType getDoctype()(Code)(Java Doc) public Element getDocumentElement()(Code)(Java Doc) public Element getElementById(String arg0)(Code)(Java Doc) public NodeList getElementsByTagName(String arg0)(Code)(Java Doc) public NodeList getElementsByTagNameNS(String arg0, String arg1)(Code)(Java Doc) public Node getFirstChild()(Code)(Java Doc) public DOMImplementation getImplementation()(Code)(Java Doc) public Node getLastChild()(Code)(Java Doc) public String getLocalName()(Code)(Java Doc) public String getNamespaceURI()(Code)(Java Doc) public Node getNextSibling()(Code)(Java Doc) public String getNodeName()(Code)(Java Doc) public short getNodeType()(Code)(Java Doc) public String getNodeValue() throws DOMException(Code)(Java Doc) public Document getOwnerDocument()(Code)(Java Doc) public Node getParentNode()(Code)(Java Doc) public String getPrefix()(Code)(Java Doc) public Node getPreviousSibling()(Code)(Java Doc) public static org.w3c.dom.Document getXMLDocumentFromString(String sXML) throws SAXException, IOException, ParserConfigurationException, FactoryConfigurationError(Code)(Java Doc) public boolean hasAttributes()(Code)(Java Doc) public boolean hasChildNodes()(Code)(Java Doc) public int hashCode()(Code)(Java Doc) public Node importNode(Node arg0, boolean arg1) throws DOMException(Code)(Java Doc) public Node insertBefore(Node arg0, Node arg1) throws DOMException(Code)(Java Doc) public boolean isSupported(String arg0, String arg1)(Code)(Java Doc) public void normalize()(Code)(Java Doc) public static String printNode(Node node)(Code)(Java Doc) public Node removeChild(Node arg0) throws DOMException(Code)(Java Doc) public Node replaceChild(Node arg0, Node arg1) throws DOMException(Code)(Java Doc) public void setNodeValue(String arg0) throws DOMException(Code)(Java Doc) public void setPrefix(String arg0) throws DOMException(Code)(Java Doc) public String toString()(Code)(Java Doc)
|
|
|