public class ICESequence extends Object implements IICEResponseElement, IICEElementHandler
Detailed information about package sequences could be found in the ICE 1.1 specification
http://www.icestandard.com/spec/SPEC-ICE1.01-20000511.html#section5.5.2 section 5.5.2 .
BORDERCELLSPACING=2 CELLPADDING=0 class="dtdfrag"
ice-sequence format
<!ELEMENT ice-sequence (ice-package-state
*) >
<!ATTLIST ice-sequence
subscription-id CDATA #REQUIRED
>
Copyright 2004 SAP AG
Constructor and Description |
---|
ICESequence(Attributes attributes)
Create new ICESequence response.
|
ICESequence(String subscriptionID,
Collection packageStates)
Create a new ICESequence response.
|
Modifier and Type | Method and Description |
---|---|
boolean |
endElement(String name)
Receive notification of the end of an element.
|
Collection |
getPackageStates()
Get the sequenece of the package states.
|
String |
getSubscriptionID()
Get the identifier of the subscription.
|
IICECharacterHandler |
startElement(String name,
Attributes attributes,
PreparsedXML input)
Receive notification of the beginning of an element.
|
void |
write(ContentHandler handler)
Write the XML representation of the ICE element to a SAX ContentHandler.
|
boolean |
writeChunk(ContentHandler handler)
Write a chunk of XML to a SAX ContentHandler.
|
public static final String TAGNAME
public ICESequence(String subscriptionID, Collection packageStates)
subscriptionID
- The identifier of the subscriptionpackageStates
- A collection of ICEPackageState elementspublic ICESequence(Attributes attributes)
attributes
- The attributes of the ice-sequence tagpublic String getSubscriptionID()
public Collection getPackageStates()
public IICECharacterHandler startElement(String name, Attributes attributes, PreparsedXML input) throws SAXException
startElement
in interface IICEElementHandler
name
- The local name of the XML element (we don't need namespaces at this point)input
- The preparsed XML stream to get the element contentattributes
- AttributesSAXException
- on error (might wrap another exception)public boolean endElement(String name) throws SAXException
endElement
in interface IICEElementHandler
name
- The local name of the XML element (we don't need namespaces at this point)SAXException
- on error (might wrap another exception)public void write(ContentHandler handler) throws SAXException
write
in interface IICEElement
handler
- The SAX ContentHandler (usually a XMLSerializer)SAXException
- on error (might wrap another exception)public boolean writeChunk(ContentHandler handler) throws SAXException
writeChunk
in interface IICEElement
handler
- The SAX ContentHandler (usually a XMLSerializer)SAXException
- on error (might wrap another exception)Access Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice