public class XmlIndex extends DefaultSchema
XmlTypeDefinition
sConstructor and Description |
---|
XmlIndex(String namespace,
URI location) |
Modifier and Type | Method and Description |
---|---|
void |
addType(TypeDefinition type)
Add a type to the type index.
|
Map<QName,XmlAttributeGroup> |
getAttributeGroups() |
Map<QName,XmlAttribute> |
getAttributes() |
Map<QName,XmlElement> |
getElements() |
Map<QName,XmlGroup> |
getGroups() |
XmlTypeDefinition |
getOrCreateType(QName name)
Get the type definition with the given name.
|
Map<String,String> |
getPrefixes() |
getLocation, getNamespace
getMappingRelevantTypes, getType, getTypes, toggleMappingRelevant
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMappingRelevantTypes, getType, getTypes, toggleMappingRelevant
public XmlTypeDefinition getOrCreateType(QName name)
name
- the type namepublic void addType(TypeDefinition type)
DefaultTypeIndex
addType
in class DefaultTypeIndex
type
- the type to addDefaultTypeIndex.addType(TypeDefinition)
public Map<QName,XmlAttribute> getAttributes()
public Map<QName,XmlAttributeGroup> getAttributeGroups()
public Map<QName,XmlElement> getElements()
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a