Class NewAttributeBands.Union
java.lang.Object
org.apache.commons.compress.harmony.pack200.NewAttributeBands.LayoutElement
org.apache.commons.compress.harmony.pack200.NewAttributeBands.Union
- All Implemented Interfaces:
NewAttributeBands.AttributeLayoutElement
- Enclosing class:
- NewAttributeBands
A Union is a type of layout element where the tag value acts as a selector for one of the union cases
-
Constructor Summary
ConstructorDescriptionUnion
(String tag, List<NewAttributeBands.UnionCase> unionCases, List<NewAttributeBands.LayoutElement> body) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAttributeToBand
(NewAttribute attribute, InputStream inputStream) void
pack
(OutputStream outputStream) void
renumberBci
(IntList bciRenumbering, Map<org.objectweb.asm.Label, Integer> labelsToOffsets) Methods inherited from class org.apache.commons.compress.harmony.pack200.NewAttributeBands.LayoutElement
getLength
-
Constructor Details
-
Union
public Union(String tag, List<NewAttributeBands.UnionCase> unionCases, List<NewAttributeBands.LayoutElement> body)
-
-
Method Details
-
addAttributeToBand
-
getDefaultCaseBody
-
getUnionCases
-
getUnionTag
-
pack
- Throws:
IOException
Pack200Exception
-
renumberBci
public void renumberBci(IntList bciRenumbering, Map<org.objectweb.asm.Label, Integer> labelsToOffsets)
-