|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.AbstractMap<K,V> java.util.TreeMap<PackagePartName,PackagePart> org.apache.poi.openxml4j.opc.PackagePartCollection
public final class PackagePartCollection
A package part collection.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.util.AbstractMap |
---|
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V> |
Constructor Summary | |
---|---|
PackagePartCollection()
|
Method Summary | |
---|---|
java.lang.Object |
clone()
|
PackagePart |
put(PackagePartName partName,
PackagePart part)
Check rule [M1.11]: a package implementer shall neither create nor recognize a part with a part name derived from another part name by appending segments to it. |
PackagePart |
remove(java.lang.Object key)
|
Methods inherited from class java.util.TreeMap |
---|
ceilingEntry, ceilingKey, clear, comparator, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, putAll, size, subMap, subMap, tailMap, tailMap, values |
Methods inherited from class java.util.AbstractMap |
---|
equals, hashCode, isEmpty, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
---|
equals, hashCode, isEmpty |
Constructor Detail |
---|
public PackagePartCollection()
Method Detail |
---|
public java.lang.Object clone()
clone
in class java.util.TreeMap<PackagePartName,PackagePart>
public PackagePart put(PackagePartName partName, PackagePart part)
put
in interface java.util.Map<PackagePartName,PackagePart>
put
in class java.util.TreeMap<PackagePartName,PackagePart>
InvalidOperationException
- Throws if you try to add a part with a name derived from
another part name.public PackagePart remove(java.lang.Object key)
remove
in interface java.util.Map<PackagePartName,PackagePart>
remove
in class java.util.TreeMap<PackagePartName,PackagePart>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |