Open SiteSearch 4.1.1
Final

ORG.oclc.xml.parser
Class Entity

java.lang.Object
  |
  +--ORG.oclc.xml.om.ElementImpl
        |
        +--ORG.oclc.xml.parser.Entity

public class Entity
extends ElementImpl

This class implements an Entity object representing an XML internal or external entity as defined in the XML Document Type Definition (DTD).


Fields inherited from class ORG.oclc.xml.om.ElementImpl
attrlist
 
Method Summary
 Object getAttribute(Name attName)
           
 Enumeration getAttributes()
           
 Name getName()
          Retrieves the name of the entity.
 Name getTagName()
           
 void save(XMLOutputStream o)
          Saves the entity to the given output stream with indenting and new lines.
 void saveEntity(XMLOutputStream o)
          Saves the entity to the given output stream.
 void setText(String text)
          Changes the text of entity.
 
Methods inherited from class ORG.oclc.xml.om.ElementImpl
addChild, addChild, getAttribute, getChild, getChildren, getElements, getParent, getText, getType, isAttributeQualified, numAttributes, numElements, qualifyName, removeAttribute, removeAttribute, removeChild, saveAttributes, setAttribute, setAttribute, setParent, toSchema, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

setText

public void setText(String text)
Changes the text of entity.
Parameters:
text - The new text of the entity.
Overrides:
setText in class ElementImpl

getAttribute

public Object getAttribute(Name attName)
Overrides:
getAttribute in class ElementImpl

getAttributes

public Enumeration getAttributes()
Overrides:
getAttributes in class ElementImpl

save

public void save(XMLOutputStream o)
          throws IOException
Saves the entity to the given output stream with indenting and new lines.
Parameters:
o - The output stream.
Throws:
IOException - if there is a problem writing to the output stream.
Overrides:
save in class ElementImpl

saveEntity

public void saveEntity(XMLOutputStream o)
                throws IOException
Saves the entity to the given output stream.
Parameters:
o - The output stream.
Throws:
IOException - if there is a problem writing to the output stream.

getName

public Name getName()
Retrieves the name of the entity.
Returns:
the Name object containing the entity name.

getTagName

public Name getTagName()
Overrides:
getTagName in class ElementImpl

Open SiteSearch 4.1.1
Final