com.sun.java.help.impl
Class ParserEvent
java.util.EventObject
com.sun.java.help.impl.ParserEvent
public class ParserEvent
extends java.util.EventObject
An event in the HTML/XML Parser
ParserEvent(Object source, String text) - Represents a parsed continous block of text, a comment, or an error.
|
ParserEvent(Object source, String target, String data) - Represents a PI (processing instruction)
|
ParserEvent(Object source, String root, String publicId, String systemId) - Represents a DOCTYPE
|
ParserEvent(Object source, Tag tag) - Represents a parsed Tag in the Parser
|
ParserEvent
public ParserEvent(Object source,
String text)
Represents a parsed continous block of text, a comment, or an error.
source
- The Parser this came from
ParserEvent
public ParserEvent(Object source,
String target,
String data)
Represents a PI (processing instruction)
source
- The Parser this came fromtarget
- The PI targetdata
- The rest of the PI
ParserEvent
public ParserEvent(Object source,
String root,
String publicId,
String systemId)
Represents a DOCTYPE
source
- The Parser this came fromroot
- The rootpublicId
- The publicID (may be null)
ParserEvent
public ParserEvent(Object source,
Tag tag)
Represents a parsed Tag in the Parser
source
- The Parser this came fromtag
- The parsed Tag.
getData
public String getData()
getPublicId
public String getPublicId()
getRoot
public String getRoot()
getSystemId
public String getSystemId()
getTag
public Tag getTag()
getTarget
public String getTarget()
getText
public String getText()