|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface for metadata schema.
XHTML metadata schema are expected to have a prefix to distinguish vocabularies, e.g. "DC" for Dublin Core.
Method Summary | |
java.lang.String[] |
getAllPrefixes()
Get the HTML metadata prefixes recognised by this schema. |
java.lang.String |
getDefaultPrefix()
Get the default namespace prefix for the schema. |
java.lang.String |
getName()
Get the common name for the schema. |
SchemaProperty |
getNamedPredicateProperty(java.lang.String name)
Get the schema property for a given predicate. |
java.util.Collection |
getPredicates()
Get a collection of schema property predicates for this schema. |
java.lang.String |
getUri()
Get the base URI for the metadata schema. |
boolean |
providesQualifiers()
Signal whether the schema provides element qualifiers. |
boolean |
providesQualifiersFor(java.lang.String uri)
Check whether the schema provides qualifiers for a specific schema. |
Methods inherited from interface com.mkdoc.schema.Resolver |
expandPredicate, expandScheme |
Method Detail |
public java.lang.String getUri()
public java.lang.String getDefaultPrefix()
public java.lang.String[] getAllPrefixes()
public boolean providesQualifiers()
true
if the schemapublic boolean providesQualifiersFor(java.lang.String uri)
uri
- The URI of another schema to check for extensions.
true
if the schema provieds qualifiers for the
schema signified by the URI.public java.util.Collection getPredicates()
public SchemaProperty getNamedPredicateProperty(java.lang.String name)
name
- The predicate name without prefix.
null
if no
mapping exists.public java.lang.String getName()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |