public final class SOAPArrayType extends Object
Constructor and Description |
---|
SOAPArrayType(QName name,
String dimensions)
Parses SOAP 1.1(advanced) array type strings.
|
SOAPArrayType(SOAPArrayType nested,
int[] dimensions)
Given a nested SOAPArrayType and a set of dimensions for the outermost
array, comes up with the right SOAPArrayType for the whole thing.
|
SOAPArrayType(String s,
PrefixResolver m)
Parses a SOAP 1.1 array type string.
|
Modifier and Type | Method and Description |
---|---|
boolean |
containsNestedArrays()
True if this array contains nested arrays.
|
boolean |
equals(Object obj) |
int[] |
getDimensions()
Returns the array of dimensions.
|
QName |
getQName()
Returns the QName for the referenced type.
|
int[] |
getRanks()
Returns the array of ranks for inner nested arrays.
|
int |
hashCode() |
boolean |
isSameRankAs(SOAPArrayType otherType)
True if the ranks for the passed SOAPArrayType
are equal to this one.
|
SOAPArrayType |
nestedArrayType()
Constructs a SOAPArrayType reflecting the dimensions
of the next nested array.
|
static SOAPArrayType |
newSoap12Array(QName itemType,
String arraySize)
SOAP 1.2
Constructs a SOAPArrayType from soap-enc:itemType and
soap-enc:arraySize attributes
|
static int[] |
parseSoap11Index(String inbraces)
Given SOAP 1.1-formatted index string, returns an array
index.
|
String |
soap11DimensionString()
Returns the dimensions as a string, e.g., [,][2,3,4]
|
String |
soap11DimensionString(int[] actualDimensions)
Given an actual set of dimensions that may differ from
the default that is stored, outputs the soap arrayType
string.
|
String |
soap12DimensionString(int[] actualDimensions)
SOAP 1.2
Given an actual set of dimensions that may differ from
the default that is stored, outputs the soap arraySize
string.
|
public SOAPArrayType(String s, PrefixResolver m)
public SOAPArrayType(QName name, String dimensions)
public SOAPArrayType(SOAPArrayType nested, int[] dimensions)
public boolean isSameRankAs(SOAPArrayType otherType)
public static int[] parseSoap11Index(String inbraces)
public QName getQName()
public int[] getRanks()
public int[] getDimensions()
public boolean containsNestedArrays()
public String soap11DimensionString()
public String soap11DimensionString(int[] actualDimensions)
public static SOAPArrayType newSoap12Array(QName itemType, String arraySize)
itemType
- the item type QNamearraySize
- a string with dimentions like: * 3 4public String soap12DimensionString(int[] actualDimensions)
public SOAPArrayType nestedArrayType()
Copyright © 2010 - 2020 Adobe. All Rights Reserved