Class mozile.save.extract.Instruction
Object
|
+--mozile.save.extract.Instruction
- class
mozile.save.extract.Instruction
Defined in extract.js
|
Field Summary |
String |
select
The HTML target to select. |
String |
target
The XML target to use. |
String |
value
A string to assign to the target. |
|
Method Summary |
Element
|
execute(<Element> element, <Element> container)
Does the work of manipulating the target.
|
String
|
getType()
Returns the type of this instruction.
|
String
|
toString()
A convenience method to dump the properties of this Instruction object.
|
select
String select
The HTML target to select.
target
String target
value
String value
A string to assign to the target.
mozile.save.extract.Instruction
mozile.save.extract.Instruction()
execute
Element execute(<Element> element, <Element> container)
Does the work of manipulating the target. Takes an HTML element as its context and an XML container to attach new content to.
TODO: Clean up and generalize. Use proper XPaths.
Parameters:
element - An HTML element to use as input.
container - An XML element to attach output to.
Returns:
Either the given container or a newly created container is returned.
getType
String getType()
Returns the type of this instruction.
TODO: Define types more clearly.
toString
String toString()
A convenience method to dump the properties of this Instruction object.
Documentation generated by
JSDoc on Wed Feb 20 13:25:28 2008