    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"

##

NameValue
SystemFlag
UrlValue

##

xg_ExternalID()

##

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

##

SystemFlag

     protected boolean SystemFlag

UrlValue

     protected String UrlValue

NameValue

     protected String NameValue

##

xg_ExternalID

     public xg_ExternalID()

##

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

setUrlValue

     public void setUrlValue(String InputUrlValue)

  Set the value of the URL.

  Parameters:
    The - value of the URL

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

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

isSystemID

     public boolean isSystemID()

  Is this a SYSTEM ID? True means SYSTEM; false means PUBLIC.

  Returns:
    Whether this is a SYSTEM ID

getType

     public int getType()

  Get the type of this node.

  Returns:
    The type of this node
  Overrides:
    getType in class xg_Node

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

getUrlValue

     public String getUrlValue()

  Get the value of the URL.

  Returns:
    The value of the URL

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