com.sun.enterprise.deployment.node
Interface RootXMLNode<T>

All Superinterfaces:
XMLNode<T>
All Known Implementing Classes:
AppClientNode, AppClientRuntimeNode, ApplicationNode, ApplicationRuntimeNode, BundleNode, ConnectorNode, ConnectorNode, EjbBundleNode, EjbBundleRuntimeNode, GFAppClientRuntimeNode, GFApplicationRuntimeNode, GFEjbBundleRuntimeNode, GFWebBundleRuntimeNode, JaxrpcMappingDescriptorNode, PersistenceNode, RuntimeBundleNode, WebBundleNode, WebBundleRuntimeNode, WebCommonNode, WebFragmentNode, WebServicesDescriptorNode, WLApplicationRuntimeNode, WLWebBundleRuntimeNode, WLWebServicesDescriptorNode

public interface RootXMLNode<T>
extends XMLNode<T>

This interface defines all the protocol associated with a root node of an XML file.

Version:
Author:
Jerome Dochez

Method Summary
 java.lang.String getDocType()
           
 java.lang.String getSpecVersion()
           
 java.lang.String getSystemID()
           
 java.util.List<java.lang.String> getSystemIDs()
           
 void setDocType(java.lang.String docType)
          set the DOCTYPE as read in the input XML File
 
Methods inherited from interface com.sun.enterprise.deployment.node.XMLNode
addDescriptor, addPrefixMapping, endElement, getDescriptor, getHandlerFor, getParentNode, getXMLPath, handlesElement, resolvePrefix, setElementValue, startElement, writeDescriptor
 

Method Detail

getDocType

java.lang.String getDocType()
Returns:
the DOCTYPE that should be written to the XML file

setDocType

void setDocType(java.lang.String docType)
set the DOCTYPE as read in the input XML File

Parameters:
docType - doctype for the xml

getSystemID

java.lang.String getSystemID()
Returns:
the SystemID of the XML file

getSystemIDs

java.util.List<java.lang.String> getSystemIDs()
Returns:
the list of SystemID of the XML schema supported

getSpecVersion

java.lang.String getSpecVersion()
Returns:
the default spec version level this node complies to


Copyright © 2012 GlassFish Community. All Rights Reserved.