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, traverseFromTopLevelTypeToNamedChildren
public PageflowInspector(BaseXmlInspectorConfig config)
protected String getTopLevelTypeAttribute()
name=
, not type=
.getTopLevelTypeAttribute
in class BaseXmlInspector
protected String getTypeAttribute()
to=
, not type=
.getTypeAttribute
in class BaseXmlInspector
protected void preprocessDocument(Document document)
preprocessDocument
in class BaseXmlInspector
document
- DOM of XML being processedprotected Map<String,String> inspectAction(Element toInspect)
BaseXmlInspector
It 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 BaseXmlInspector
toInspect
- DOM element to inspectCopyright © 2015. All Rights Reserved.