|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.AbstractCollection | +--java.util.AbstractSet | +--java.util.HashSet | +--com.simonstl.moe.namespace.NamespaceSet
The NamespaceSet class is a NamespaceSetI, created by NamespaceContext
.
This class is just getting started. There is no implementation of the extra methods in NamespaceI (getPrefix, getURI) at present.
Version 0.01 is Abstract class.
Constructor Summary | |
NamespaceSet()
|
Method Summary | |
java.lang.String |
getPrefix(java.lang.String URI)
Given a prefix, it returns the URI to which that prefix maps. |
java.lang.String |
getURI(java.lang.String prefix)
Given a URI, it returns the first prefix it finds matching it. |
void |
setParent(CoreComponentI _parent)
Sets the parent objects on all the items contained in the Collection. |
java.lang.String |
toAttributes()
Without a list of current namespaces, the collection should report itself as XML attributes with declarations for all namespaces used by those attributes. |
java.lang.String |
toAttributes(ComponentSet namespaceContext)
Given a list of current namespaces, the collection should report itself as XML attributes without declarations for namespaces presently in use. |
java.lang.String |
toElements()
Without a list of current namespaces, the collection should report itself as XML elements with declarations for all namespaces used by those attributes. |
java.lang.String |
toElements(ComponentSet namespaceContext)
Given a list of current namespaces, the collection should report itself as XML elements without declarations for namespaces presently in use. |
java.lang.String |
toString()
toString() should report as attributes for unordered content, elements for ordered. |
java.lang.String |
toString(ComponentSet namespaceContext)
toString(ComponentSet namespaceContext) should report as attributes for unordered content, elements for ordered, with an understanding of the namespaces already declared. |
Methods inherited from class java.util.HashSet |
add, clear, clone, contains, isEmpty, iterator, remove, size |
Methods inherited from class java.util.AbstractSet |
equals, hashCode, removeAll |
Methods inherited from class java.util.AbstractCollection |
addAll, containsAll, retainAll, toArray, toArray |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Set |
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
Methods inherited from interface com.simonstl.moe.ComponentSetI |
clone |
Constructor Detail |
public NamespaceSet()
Method Detail |
public java.lang.String toString()
ComponentCollectionI
toString
in interface ComponentCollectionI
toString
in class java.util.AbstractCollection
public java.lang.String toString(ComponentSet namespaceContext)
ComponentCollectionI
toString
in interface ComponentCollectionI
public java.lang.String toAttributes(ComponentSet namespaceContext)
ComponentCollectionI
toAttributes
in interface ComponentCollectionI
public java.lang.String toAttributes()
ComponentCollectionI
toAttributes
in interface ComponentCollectionI
public java.lang.String toElements(ComponentSet namespaceContext)
ComponentCollectionI
toElements
in interface ComponentCollectionI
public java.lang.String toElements()
ComponentCollectionI
toElements
in interface ComponentCollectionI
public java.lang.String getURI(java.lang.String prefix)
NamespaceSetI
getURI
in interface NamespaceSetI
public java.lang.String getPrefix(java.lang.String URI)
NamespaceSetI
getPrefix
in interface NamespaceSetI
public void setParent(CoreComponentI _parent)
ComponentCollectionI
setParent
in interface ComponentCollectionI
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |