|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PageElementVisitor
Performs operation on a page data. Implements the Visitor pattern.
Method Summary | |
---|---|
void |
endComponentElement(ComponentElement element,
String elementName,
Map<String,String> attributes,
List<PageElement> subElements)
|
void |
endDocument(DocumentElement element)
Invoked when the document ends. |
void |
endSimpleElement(SimpleElement element,
String elementName,
Map<String,String> attributes,
List<PageElement> subElements)
Ends a simple element. |
void |
startComponentElement(ComponentElement element,
String elementName,
Map<String,String> attributes,
List<PageElement> subElements)
|
void |
startDocument(DocumentElement element)
Invoked when the document is started. |
void |
startSimpleElement(SimpleElement element,
String elementName,
Map<String,String> attributes,
List<PageElement> subElements)
Start of a simple element. |
void |
visitComponentEmptyElement(ComponentElement element,
String elementName,
Map<String,String> attributes)
|
void |
visitProcessingInstructionElement(ProcessingInstructionElement element,
String target,
String data)
Visits a processing instruction element. |
void |
visitSimpleEmptyElement(SimpleElement element,
String elementName,
Map<String,String> attributes)
Visits an element that has no body. |
void |
visitStringPageElement(StringElement pageData,
String content)
Visits a StringElement object. |
Method Detail |
---|
void visitStringPageElement(StringElement pageData, String content)
pageData
- page data.content
- content.PageElement.accept(PageElementVisitor)
void startSimpleElement(SimpleElement element, String elementName, Map<String,String> attributes, List<PageElement> subElements)
element
- elementName
- attributes
- subElements
- void endSimpleElement(SimpleElement element, String elementName, Map<String,String> attributes, List<PageElement> subElements)
element
- elementName
- attributes
- subElements
- void visitSimpleEmptyElement(SimpleElement element, String elementName, Map<String,String> attributes)
element
- elementName
- attributes
- void visitProcessingInstructionElement(ProcessingInstructionElement element, String target, String data)
element
- target
- data
- void startDocument(DocumentElement element)
element
- void endDocument(DocumentElement element)
element
- void visitComponentEmptyElement(ComponentElement element, String elementName, Map<String,String> attributes)
element
- elementName
- attributes
- void startComponentElement(ComponentElement element, String elementName, Map<String,String> attributes, List<PageElement> subElements)
element
- elementName
- attributes
- subElements
- void endComponentElement(ComponentElement element, String elementName, Map<String,String> attributes, List<PageElement> subElements)
element
- elementName
- attributes
- subElements
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |