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
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<NewAttributeBands.LayoutElement>private final List<NewAttributeBands.UnionCase>private final NewAttributeBands.Integral -
Constructor Summary
ConstructorsConstructorDescriptionUnion(String tag, List<NewAttributeBands.UnionCase> unionCases, List<NewAttributeBands.LayoutElement> body) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAttributeToBand(NewAttribute attribute, InputStream inputStream) voidpack(OutputStream outputStream) voidrenumberBci(IntList bciRenumbering, Map<org.objectweb.asm.Label, Integer> labelsToOffsets) Methods inherited from class org.apache.commons.compress.harmony.pack200.NewAttributeBands.LayoutElement
getLength
-
Field Details
-
unionTag
-
unionCases
-
defaultCaseBody
-
-
Constructor Details
-
Union
public Union(String tag, List<NewAttributeBands.UnionCase> unionCases, List<NewAttributeBands.LayoutElement> body)
-
-
Method Details
-
addAttributeToBand
-
getDefaultCaseBody
-
getUnionCases
-
getUnionTag
-
pack
- Throws:
IOExceptionPack200Exception
-
renumberBci
-