com.sun.java.help.impl
Class ParserEvent
java.lang.Object
java.util.EventObject
com.sun.java.help.impl.ParserEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class ParserEvent
- extends java.util.EventObject
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
ParserEvent(java.lang.Object source,
java.lang.String text)
Represents a parsed continous block of text, a comment, or an error. |
ParserEvent(java.lang.Object source,
java.lang.String target,
java.lang.String data)
Represents a PI (processing instruction) |
ParserEvent(java.lang.Object source,
java.lang.String root,
java.lang.String publicId,
java.lang.String systemId)
Represents a DOCTYPE |
ParserEvent(java.lang.Object source,
Tag tag)
Represents a parsed Tag in the Parser |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ParserEvent
public ParserEvent(java.lang.Object source,
Tag tag)
- Represents a parsed Tag in the Parser
- Parameters:
source
- The Parser this came fromtag
- The parsed Tag.- See Also:
java.help.basic.Parser
ParserEvent
public ParserEvent(java.lang.Object source,
java.lang.String text)
- Represents a parsed continous block of text, a comment, or an error.
- Parameters:
source
- The Parser this came from- See Also:
java.help.basic.Parser
ParserEvent
public ParserEvent(java.lang.Object source,
java.lang.String target,
java.lang.String data)
- Represents a PI (processing instruction)
- Parameters:
source
- The Parser this came fromtarget
- The PI targetdata
- The rest of the PI- See Also:
java.help.basic.Parser
ParserEvent
public ParserEvent(java.lang.Object source,
java.lang.String root,
java.lang.String publicId,
java.lang.String systemId)
- Represents a DOCTYPE
- Parameters:
source
- The Parser this came fromroot
- The rootpublicId
- The publicID (may be null)- See Also:
java.help.basic.Parser
getTag
public Tag getTag()
- Returns:
- the Tag
getText
public java.lang.String getText()
- Returns:
- the text
getTarget
public java.lang.String getTarget()
- Returns:
- the target
getData
public java.lang.String getData()
- Returns:
- the data
getRoot
public java.lang.String getRoot()
- Returns:
- the root
getPublicId
public java.lang.String getPublicId()
- Returns:
- the publicId
getSystemId
public java.lang.String getSystemId()
- Returns:
- the systemId