All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class xg.xg_ExternalID

java.lang.Object
   |
   +----com.sun.java.swing.tree.DefaultMutableTreeNode
           |
           +----xg.xg_Node
                   |
                   +----xg.xg_ExternalID

public class xg_ExternalID
extends xg_Node
Class xg_ExternalID - A representation of an XML external ID, which takes the form: SYSTEM "Url" or PUBLIC "Name" "Url"


Variable Index

 o NameValue
 o SystemFlag
 o UrlValue

Constructor Index

 o xg_ExternalID()

Method Index

 o getName()
Get the name of the ID, which is only meaningful for PUBLIC IDs.
 o getNodeType()
Get the type of this node, using only type values defined for the DOM.
 o getType()
Get the type of this node.
 o getUrlValue()
Get the value of the URL.
 o isSystemID()
Is this a SYSTEM ID? True means SYSTEM; false means PUBLIC.
 o save(Writer)
Save this external ID in XML source form in InputWriter.
 o setName(String)
Set the name of the ID, which is only meaningful for PUBLIC IDs.
 o setSystemFlag(boolean)
Set the flag which specifies whether this is SYSTEM ID (true) or PUBLIC ID (false).
 o setUrlValue(String)
Set the value of the URL.

Variables

 o SystemFlag
 protected boolean SystemFlag
 o UrlValue
 protected String UrlValue
 o NameValue
 protected String NameValue

Constructors

 o xg_ExternalID
 public xg_ExternalID()

Methods

 o setSystemFlag
 public void setSystemFlag(boolean InputSystemFlag)
Set the flag which specifies whether this is SYSTEM ID (true) or PUBLIC ID (false).

Parameters:
Whether - this is a SYSTEM ID
 o setUrlValue
 public void setUrlValue(String InputUrlValue)
Set the value of the URL.

Parameters:
The - value of the URL
 o setName
 public void setName(String InputNameValue)
Set the name of the ID, which is only meaningful for PUBLIC IDs.

Parameters:
The - value of the name
Overrides:
setName in class xg_Node
 o save
 public void save(Writer InputWriter) throws IOException
Save this external ID in XML source form in InputWriter.

Parameters:
InputWriter - The writer to which the external ID will be written
Overrides:
save in class xg_Node
 o isSystemID
 public boolean isSystemID()
Is this a SYSTEM ID? True means SYSTEM; false means PUBLIC.

Returns:
Whether this is a SYSTEM ID
 o getType
 public int getType()
Get the type of this node.

Returns:
The type of this node
Overrides:
getType in class xg_Node
 o getNodeType
 public int getNodeType()
Get the type of this node, using only type values defined for the DOM. (Implements org.w3c.dom.Node.getNodeType.)

Returns:
The DOM type of this node
Overrides:
getNodeType in class xg_Node
 o getUrlValue
 public String getUrlValue()
Get the value of the URL.

Returns:
The value of the URL
 o getName
 public String getName()
Get the name of the ID, which is only meaningful for PUBLIC IDs.

Returns:
The value of the name
Overrides:
getName in class xg_Node

All Packages  Class Hierarchy  This Package  Previous  Next  Index