at.ac.tuwien.infosys.sm4all.copal.api.xml
Class Base

java.lang.Object
  extended by at.ac.tuwien.infosys.sm4all.copal.api.xml.Base
Direct Known Subclasses:
ElementMarshaller, ListMarshaller

public class Base
extends java.lang.Object

Base utility class for XML Marshallers and Unmarshallers.

Author:
sanjin

Constructor Summary
protected Base(org.w3c.dom.Element element)
          Create instance of XML utility class that works on specified Element.
 
Method Summary
protected  org.w3c.dom.Element createElement(java.lang.String localName)
          Create an Element with specified local name, namespace URI equal to Constants.COPAL_NAMESPACE, and prefix equal to Constants.COPAL_PREFIX.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Base

protected Base(org.w3c.dom.Element element)
Create instance of XML utility class that works on specified Element.

Parameters:
element - the Element.
Method Detail

createElement

protected org.w3c.dom.Element createElement(java.lang.String localName)
Create an Element with specified local name, namespace URI equal to Constants.COPAL_NAMESPACE, and prefix equal to Constants.COPAL_PREFIX.

Parameters:
localName - the local name of the Element.
Returns:
new Element.


Copyright © 2010 Distributed Systems Group, Vienna University of Technology. All Rights Reserved.