public class ICESubscription extends Object implements IICEResponseElement, IICEElementHandler
ice-offer
) >
<!ATTLIST ice-subscription
current-state CDATA #IMPLIED
expiration-date CDATA #IMPLIED
expiration-priority (first | last) #IMPLIED
quantity-remaining CDATA #IMPLIED
subscription-id CDATA #REQUIRED
>
Copyright 2004 SAP AG
Constructor and Description |
---|
ICESubscription(Attributes attributes)
Create a new ICESubscription.
|
ICESubscription(String subscriptionID,
String currentState,
ICEOffer offer)
Create a new ICESubscription.
|
Modifier and Type | Method and Description |
---|---|
boolean |
endElement(String name)
Receive notification of the end of an element.
|
String |
getCurrentState()
Get the id of the current package state.
|
ICEOffer |
getOffer()
Get the offer of the subscription.
|
String |
getSubscriptionID()
Get the id 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 ICESubscription(String subscriptionID, String currentState, ICEOffer offer)
subscriptionID
- The id of the subscriptioncurrentState
- The id of the current package stateoffer
- The offer of the subscriptionpublic ICESubscription(Attributes attributes)
attributes
- todo: Description of the incoming method parameterpublic String getSubscriptionID()
public String getCurrentState()
public ICEOffer getOffer()
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
- todo: Description of the incoming method parameterSAXException
- 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 an 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