Package com.sun.java.help.impl
Class ParserEvent
java.lang.Object
java.util.EventObject
com.sun.java.help.impl.ParserEvent
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorsConstructorDescriptionParserEvent
(Object source, Tag tag) Represents a parsed Tag in the ParserParserEvent
(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 -
Method Summary
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
ParserEvent
Represents a parsed Tag in the Parser- Parameters:
source
- The Parser this came fromtag
- The parsed Tag.- See Also:
-
ParserEvent
Represents a parsed continous block of text, a comment, or an error.- Parameters:
source
- The Parser this came fromString
- The text, comment, or error- See Also:
-
ParserEvent
Represents a PI (processing instruction)- Parameters:
source
- The Parser this came fromtarget
- The PI targetdata
- The rest of the PI- See Also:
-
ParserEvent
Represents a DOCTYPE- Parameters:
source
- The Parser this came fromroot
- The rootpublicId
- The publicID (may be null)systemID
- The systemID (may be null)- See Also:
-
-
Method Details
-
getTag
- Returns:
- the Tag
-
getText
- Returns:
- the text
-
getTarget
- Returns:
- the target
-
getData
- Returns:
- the data
-
getRoot
- Returns:
- the root
-
getPublicId
- Returns:
- the publicId
-
getSystemId
- Returns:
- the systemId
-