public class ICEContact extends Object implements IICEElement, IICEElementHandler, IICECharacterHandler
ice-text
)*
!ATTLIST ice-contact
description CDATA #REQUIRED
xml:lang CDATA #IMPLIED
name CDATA #REQUIRED
url CDATA #IMPLIED
Copyright 2004 SAP AGConstructor and Description |
---|
ICEContact(Attributes attributes)
Create a new ICE contact.
|
ICEContact(String name,
String description)
Create a new ICE contact.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Informs the handler that is character stream is closed.
|
boolean |
endElement(String name)
Receive notification of the end of an element.
|
void |
handleCharacters(char[] characters,
int offset,
int length)
Receive notification of character data.
|
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 ICEContact(String name, String description)
name
- The name of the contactdescription
- The description of the contactpublic ICEContact(Attributes attributes)
attributes
- The attributes of the ice-contact tagpublic 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 handleCharacters(char[] characters, int offset, int length) throws SAXException
handleCharacters
in interface IICECharacterHandler
characters
- The characters from the XML document.offset
- The start position in the array.length
- The number of characters to read from the array.SAXException
- on error (might wrap another exception)public void close() throws SAXException
close
in interface IICECharacterHandler
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