Package 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
-
-
Constructor Summary
Constructors Constructor Description ParserEvent(java.lang.Object source, Tag tag)
Represents a parsed Tag in the ParserParserEvent(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
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getData()
java.lang.String
getPublicId()
java.lang.String
getRoot()
java.lang.String
getSystemId()
Tag
getTag()
java.lang.String
getTarget()
java.lang.String
getText()
-
-
-
Constructor Detail
-
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 fromString
- The text, comment, or error- 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)systemID
- The systemID (may be null)- See Also:
java.help.basic.Parser
-
-
Method Detail
-
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
-
-