限定符和类型 | 方法和说明 |
---|---|
Tag |
PrototypicalNodeFactory.createTagNode(Page page,
int start,
int end,
java.util.Vector attributes)
Create a new tag node.
|
Tag |
NodeFactory.createTagNode(Page page,
int start,
int end,
java.util.Vector attributes)
Create a new tag node.
|
Tag |
PrototypicalNodeFactory.get(java.lang.String id)
Gets a tag from the registry.
|
Tag |
Tag.getEndTag()
Get the end tag for this (composite) tag.
|
Tag |
PrototypicalNodeFactory.getTagPrototype()
Get the object that is cloned to generate tag nodes.
|
Tag |
PrototypicalNodeFactory.put(java.lang.String id,
Tag tag)
Adds a tag to the registry.
|
Tag |
PrototypicalNodeFactory.remove(java.lang.String id)
Remove a tag from the registry.
|
限定符和类型 | 方法和说明 |
---|---|
Tag |
PrototypicalNodeFactory.put(java.lang.String id,
Tag tag)
Adds a tag to the registry.
|
void |
PrototypicalNodeFactory.registerTag(Tag tag)
Register a tag.
|
void |
Tag.setEndTag(Tag tag)
Set the end tag for this (composite) tag.
|
void |
PrototypicalNodeFactory.setTagPrototype(Tag tag)
Set the object to be used to generate tag nodes.
|
void |
PrototypicalNodeFactory.unregisterTag(Tag tag)
Unregister a tag.
|
构造器和说明 |
---|
PrototypicalNodeFactory(Tag tag)
Create a new factory with the given tag as the only registered tag.
|
PrototypicalNodeFactory(Tag[] tags)
Create a new factory with the given tags registered.
|
限定符和类型 | 方法和说明 |
---|---|
void |
StringBean.visitEndTag(Tag tag)
Resets the state of the PRE and SCRIPT flags.
|
void |
StringBean.visitTag(Tag tag)
Appends a NEWLINE to the output if the tag breaks flow, and
possibly sets the state of the PRE and SCRIPT flags.
|
限定符和类型 | 方法和说明 |
---|---|
Tag |
Lexer.createTagNode(Page page,
int start,
int end,
java.util.Vector attributes)
Create a new tag node.
|
限定符和类型 | 类和说明 |
---|---|
class |
TagNode
TagNode represents a generic tag.
|
限定符和类型 | 方法和说明 |
---|---|
Tag |
TagNode.getEndTag()
Get the end tag for this (composite) tag.
|
限定符和类型 | 方法和说明 |
---|---|
void |
TagNode.setEndTag(Tag end)
Set the end tag for this (composite) tag.
|
构造器和说明 |
---|
Attributes(Tag tag,
org.xml.sax.helpers.NamespaceSupport support,
java.lang.String[] parts)
Create an attibute access object.
|
限定符和类型 | 方法和说明 |
---|---|
Tag |
TagScanner.scan(Tag tag,
Lexer lexer,
NodeList stack)
Scan the tag.
|
Tag |
StyleScanner.scan(Tag tag,
Lexer lexer,
NodeList stack)
Scan for style definitions.
|
Tag |
ScriptScanner.scan(Tag tag,
Lexer lexer,
NodeList stack)
Scan for script.
|
Tag |
Scanner.scan(Tag tag,
Lexer lexer,
NodeList stack)
Scan the tag.
|
Tag |
CompositeTagScanner.scan(Tag tag,
Lexer lexer,
NodeList stack)
Collect the children.
|
限定符和类型 | 方法和说明 |
---|---|
boolean |
CompositeTagScanner.isTagToBeEndedFor(Tag current,
Tag tag)
Determine if the current tag should be terminated by the given tag.
|
Tag |
TagScanner.scan(Tag tag,
Lexer lexer,
NodeList stack)
Scan the tag.
|
Tag |
StyleScanner.scan(Tag tag,
Lexer lexer,
NodeList stack)
Scan for style definitions.
|
Tag |
ScriptScanner.scan(Tag tag,
Lexer lexer,
NodeList stack)
Scan for script.
|
Tag |
Scanner.scan(Tag tag,
Lexer lexer,
NodeList stack)
Scan the tag.
|
Tag |
CompositeTagScanner.scan(Tag tag,
Lexer lexer,
NodeList stack)
Collect the children.
|
限定符和类型 | 类和说明 |
---|---|
class |
AppletTag
AppletTag represents an <Applet> tag.
|
class |
BaseHrefTag
BaseHrefTag represents an <Base> tag.
|
class |
BodyTag
A Body Tag.
|
class |
Bullet
A bullet tag.
|
class |
BulletList
A bullet list tag.
|
class |
CompositeTag
The base class for tags that have an end tag.
|
class |
DefinitionList
A definition list tag (dl).
|
class |
DefinitionListBullet
A definition list bullet tag (either DD or DT).
|
class |
Div
A div tag.
|
class |
DoctypeTag
The HTML Document Declaration Tag can identify <!DOCTYPE> tags.
|
class |
FormTag
Represents a FORM tag.
|
class |
FrameSetTag
Identifies an frame set tag.
|
class |
FrameTag
Identifies a frame tag
|
class |
HeadingTag
A heading (h1 - h6) tag.
|
class |
HeadTag
A head tag.
|
class |
Html
A html tag.
|
class |
ImageTag
Identifies an image tag.
|
class |
InputTag
An input tag in a form.
|
class |
JspTag
The JSP/ASP tags like <%...%> can be identified by this class.
|
class |
LabelTag
A label tag.
|
class |
LinkTag
Identifies a link tag.
|
class |
MetaTag
A Meta Tag
|
class |
ObjectTag
ObjectTag represents an <Object> tag.
|
class |
OptionTag
An option tag within a form.
|
class |
ParagraphTag
A paragraph (p) tag.
|
class |
ProcessingInstructionTag
The XML processing instructions like <?
|
class |
ScriptTag
A script tag.
|
class |
SelectTag
A select tag within a form.
|
class |
SHTag
A div tag.
|
class |
Span
A span tag.
|
class |
StyleTag
A StyleTag represents a <style> tag.
|
class |
TableColumn
A table column tag.
|
class |
TableHeader
A table header tag.
|
class |
TableRow
A table row tag.
|
class |
TableTag
A table tag.
|
class |
TextareaTag
A text area tag within a form.
|
class |
TitleTag
A title tag.
|
class |
UlTag
A div tag.
|
限定符和类型 | 方法和说明 |
---|---|
Tag |
CompositeTag.getEndTag()
Get the end tag for this tag.
|
Tag |
CompositeTag.searchByName(java.lang.String name)
Searches all children who for a name attribute.
|
限定符和类型 | 方法和说明 |
---|---|
void |
CompositeTag.setEndTag(Tag tag)
Set the end tag for this tag.
|
限定符和类型 | 类和说明 |
---|---|
static class |
CompositeTagScannerTest.AnotherTag |
static class |
CompositeTagScannerTest.CustomTag |
限定符和类型 | 方法和说明 |
---|---|
void |
ScriptCommentTest.ScriptVisitor.visitTag(Tag n) |
限定符和类型 | 方法和说明 |
---|---|
void |
UrlModifyingVisitor.visitEndTag(Tag tag) |
void |
TextExtractingVisitor.visitEndTag(Tag tag) |
void |
TagFindingVisitor.visitEndTag(Tag tag) |
void |
NodeVisitor.visitEndTag(Tag tag)
Called for each
Tag visited that is an end tag. |
void |
UrlModifyingVisitor.visitTag(Tag tag) |
void |
TextExtractingVisitor.visitTag(Tag tag) |
void |
TagFindingVisitor.visitTag(Tag tag) |
void |
ObjectFindingVisitor.visitTag(Tag tag) |
void |
NodeVisitor.visitTag(Tag tag)
Called for each
Tag visited. |
void |
LinkFindingVisitor.visitTag(Tag tag) |
void |
HtmlPage.visitTag(Tag tag) |