public class PageflowInspector extends BaseXmlInspector
mLog| Constructor and Description |
|---|
PageflowInspector(BaseXmlInspectorConfig config) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getTopLevelTypeAttribute()
Overridden to search by
name=, not type=. |
protected String |
getTypeAttribute()
Overridden to use
to=, not type=. |
protected Map<String,String> |
inspectAction(Element toInspect)
Inspect the given Element and return a Map of attributes if it is an action.
|
protected void |
preprocessDocument(Document document)
Overridden to strip everything but the <page> and <transition> nodes.
|
getDocumentElement, getDocumentElement, getExtendsAttribute, getNameAttribute, getReferenceAttribute, inspect, inspectAsDom, inspectProperty, inspectTrait, inspectTraits, inspectTraitSiblings, traverse, traverseFromTopLevelTypeToNamedChildrenpublic PageflowInspector(BaseXmlInspectorConfig config)
protected String getTopLevelTypeAttribute()
name=, not type=.getTopLevelTypeAttribute in class BaseXmlInspectorprotected String getTypeAttribute()
to=, not type=.getTypeAttribute in class BaseXmlInspectorprotected void preprocessDocument(Document document)
preprocessDocument in class BaseXmlInspectordocument - DOM of XML being processedprotected Map<String,String> inspectAction(Element toInspect)
BaseXmlInspectorIt is this method's responsibility to decide whether the given Element does, in fact, qualify as an 'action' - based on its own rules. Does nothing by default.
inspectAction in class BaseXmlInspectortoInspect - DOM element to inspectCopyright © 2015. All Rights Reserved.