public interface XMLTargetFactory extends Contexed
XMLTarget
based on a location path.
The number of path elements used to identify the document
and the number that represent a position within the document
is implementation dependent.
The first element of the path should always be the
tag used to to create the XMLTargetFactory
from the
AppContext.makeObject(Class, String)
call. This way paths are
unique and can be used to locate the correct factory.Modifier and Type | Method and Description |
---|---|
XMLTarget |
find(java.util.LinkedList<java.lang.String> location)
Get the XMLTarget represented by the path.
|
javax.xml.validation.Schema |
getSchema()
Get the schema to validate content.
|
DomVisitor |
getValidatingVisitor()
Get a DOMVisitor that performs additional
(non-schema) validation throwing exceptions that
should be added to the schema errors.
|
getContext
XMLTarget find(java.util.LinkedList<java.lang.String> location)
location
- javax.xml.validation.Schema getSchema()
DomVisitor getValidatingVisitor()