public class ICEAccessControl extends Object implements IICEElement, IICECharacterHandler, IDOMStorable
ICEAccess
,
ICEItemRef
Constructor and Description |
---|
ICEAccessControl(Attributes attributes)
Create a new ICEAccessControl.
|
ICEAccessControl(Element element)
Create an ICEAccessControl object from a DOM-element.
|
ICEAccessControl(Properties properties) |
ICEAccessControl(String user,
String password)
Create a new ICEAccessControl for password authentication.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Informs the handler that is character stream is closed.
|
String |
getAccessReference()
Get the access reference.
|
ICEAccessControlType |
getControlType()
The the type of the access control.
|
String |
getPassword()
Get the password for password authentication.
|
String |
getUser()
Get the user id for password authentication.
|
void |
handleCharacters(char[] characters,
int offset,
int length)
Receive notification of character data.
|
Node |
store(Document document)
Store the informations into a DOM.
|
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 ICEAccessControl(Attributes attributes)
attributes
- The attributes of the ice-access-control tagpublic ICEAccessControl(Element element)
element
- A DOM-element containing the data of the access controlpublic ICEAccessControl(Properties properties)
public ICEAccessControlType getControlType()
public String getUser()
public String getPassword()
public String getAccessReference()
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 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)public Node store(Document document)
store
in interface IDOMStorable
document
- The DOM document that should be used as factory for the DOM elementsAccess 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