com.vhosting.netconf.frame
Class Anyxml

java.lang.Object
  extended by com.vhosting.netconf.frame.Identity
      extended by com.vhosting.netconf.frame.Anyxml

public class Anyxml
extends Identity

This class represents an element of an RPC structure that identifies a generic portions of XML in the Netconf RPC, RPC Reply or Notification message.

Version:
1.00, 09/10/2010
Author:
Giuseppe Palmeri

Field Summary
 
Fields inherited from class com.vhosting.netconf.frame.Identity
name, namespaceURI, prefix
 
Constructor Summary
Anyxml(Capability cap, java.lang.String name)
          Create an Anyxml element.
 
Method Summary
 org.w3c.dom.Document createEmptyDocument()
          Create an empty XML document where the root is equal to the element name with the some namespace.
 
Methods inherited from class com.vhosting.netconf.frame.Identity
getName, getNamespaceURI, getPrefix, getUniqueNane
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Anyxml

public Anyxml(Capability cap,
              java.lang.String name)
Create an Anyxml element.

Parameters:
cap - The capability that this element belongs.
name - The name of the Anyxml element.
Method Detail

createEmptyDocument

public org.w3c.dom.Document createEmptyDocument()
Create an empty XML document where the root is equal to the element name with the some namespace.

Returns:
The empty XML document.