|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.maven.shared.xml.dom4j.ExtracterSupport
public abstract class ExtracterSupport
Simple support class for Extracter implementations.
Constructor Summary | |
---|---|
protected |
ExtracterSupport(boolean required,
java.lang.String defaultValue)
|
Method Summary | |
---|---|
java.lang.String |
extract(org.dom4j.Element element)
Extract appropriate value from the given element. |
protected abstract java.lang.String |
extractValue(org.dom4j.Element element)
Extract the value according to the underlying implementations contract. |
protected void |
requiredMissing()
Indicates that the implementation requires this value, but that null was encountered. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected ExtracterSupport(boolean required, java.lang.String defaultValue)
Method Detail |
---|
public final java.lang.String extract(org.dom4j.Element element)
Extracter
extract
in interface Extracter
element
- Element from which to extract the value.
protected abstract java.lang.String extractValue(org.dom4j.Element element)
element
- The non-null element.
protected void requiredMissing()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |