|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IValidationContextP
Provides context information that is necessary to perform validation of some Datatypes. This class is given to schema.
Method Summary | |
---|---|
boolean |
isNotation(String notationName)
Checks if a notation is declared with the specified name. |
boolean |
isUnparsedEntity(String entityName,
String namespace)
Checks if an unparsed entity is declared with the specified name. |
String |
resolveNamespacePrefix(String prefix)
Resolves a namespace prefix to the corresponding namespace URI. |
void |
validate(Element element)
Performs full validation over given element. |
Method Detail |
---|
boolean isNotation(String notationName)
notationName
- the notation name
String resolveNamespacePrefix(String prefix)
prefix
- If the prefix is "" (empty string), it indicates an
unprefixed value. Because of the prefix management, it will be always
resolved to empty string. If the prefix is "xml", it will be resolved to
"http://www.w3.org/XML/1998/namespace"
, as defined in
the XML Namespaces Recommendation.
null
, if the
specified prefix is not declared.boolean isUnparsedEntity(String entityName, String namespace)
entityName
- the entity name.namespace
- namespace, where this entity occured.
void validate(Element element) throws SchemaException
SchemaException
will be thrown.
element
- element to be validated.
SchemaException
- thrown if element isn't the root element, or if
given uri doesn't exist, or it is thrown by underlying schema.validate
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |