Class NewAttributeBands.Union
- java.lang.Object
-
- org.apache.commons.compress.harmony.unpack200.NewAttributeBands.Union
-
- Enclosing class:
- NewAttributeBands
public class NewAttributeBands.Union extends java.lang.Object
A Union is a type of layout element where the tag value acts as a selector for one of the union cases
-
-
Constructor Summary
Constructors Constructor Description Union(java.lang.String tag, java.util.List<NewAttributeBands.UnionCase> unionCases, java.util.List<org.apache.commons.compress.harmony.unpack200.NewAttributeBands.LayoutElement> body)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToAttribute(int n, NewAttribute attribute)java.util.List<org.apache.commons.compress.harmony.unpack200.NewAttributeBands.LayoutElement>getDefaultCaseBody()java.util.List<NewAttributeBands.UnionCase>getUnionCases()NewAttributeBands.IntegralgetUnionTag()voidreadBands(java.io.InputStream in, int count)
-
-
-
Constructor Detail
-
Union
public Union(java.lang.String tag, java.util.List<NewAttributeBands.UnionCase> unionCases, java.util.List<org.apache.commons.compress.harmony.unpack200.NewAttributeBands.LayoutElement> body)
-
-
Method Detail
-
addToAttribute
public void addToAttribute(int n, NewAttribute attribute)
-
getDefaultCaseBody
public java.util.List<org.apache.commons.compress.harmony.unpack200.NewAttributeBands.LayoutElement> getDefaultCaseBody()
-
getUnionCases
public java.util.List<NewAttributeBands.UnionCase> getUnionCases()
-
getUnionTag
public NewAttributeBands.Integral getUnionTag()
-
readBands
public void readBands(java.io.InputStream in, int count) throws java.io.IOException, Pack200Exception
- Throws:
java.io.IOExceptionPack200Exception
-
-