org.apache.hivemind.schema.rules
Class ReadContentRule
java.lang.Object
org.apache.hivemind.impl.BaseLocatable
org.apache.hivemind.schema.rules.BaseRule
org.apache.hivemind.schema.rules.ReadContentRule
- All Implemented Interfaces:
- Locatable, LocationHolder, Rule
public class ReadContentRule
- extends BaseRule
Used to set a property of the top object on the stack to the value
of the element's content. Created from the <read-content>
element.
Note: an Element
's content is trimmed
of leading and trailing whitespace as it is parsed and, additionally,
will never be null (though it may be the empty string).
- Author:
- Howard Lewis Ship
Methods inherited from class org.apache.hivemind.schema.rules.BaseRule |
end |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReadContentRule
public ReadContentRule()
begin
public void begin(SchemaProcessor processor,
Element element)
- Description copied from class:
BaseRule
- Does nothing; subclasses may override.
- Specified by:
begin
in interface Rule
- Overrides:
begin
in class BaseRule
getPropertyName
public java.lang.String getPropertyName()
setPropertyName
public void setPropertyName(java.lang.String string)