|
All LDAP Classes Internal LDAP Classes |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
com.novell.ldap.util.DSMLHandler
class DSMLHandler
Field Summary | |
---|---|
private static int |
ADD_ATTRIBUTE
|
private static int |
ADD_REQUEST
|
private static int |
ADD_RESPONSE
|
private static int |
AND
|
private static int |
ANY
|
private static int |
APPROXIMATE_MATCH
|
private static int |
ASSERTION
|
private static int |
ATTRIBUTE
|
private java.util.ArrayList |
attributeNames
|
private static int |
ATTRIBUTES
|
private java.util.ArrayList |
attributeValues
|
private java.lang.String |
attrName
|
private LDAPAttributeSet |
attrSet
|
private static int |
AUTH_REQUEST
|
private static int |
AUTH_RESPONSE
|
private static int |
BATCH_REQUEST
|
private static int |
BATCH_RESPONSE
|
private java.lang.String |
batchRequestID
|
private static int |
COMPARE_REQUEST
|
private static int |
COMPARE_RESPONSE
|
private static int |
CONTROL
|
private java.util.ArrayList |
controls
|
private boolean |
critical
|
private static int |
DEL_RESPONSE
|
private static int |
DELETE_REQUEST
|
private boolean |
deleteOldRDN
|
private java.lang.String |
dn
|
private LDAPEntry |
entry
|
private static int |
EQUALITY_MATCH
|
private static int |
ERROR_MESSAGE
|
private static int |
ERROR_RESPONSE
|
private java.lang.String |
errorMessage
|
private java.util.ArrayList |
errors
|
private java.lang.String |
errorType
|
private static int |
EXTENDED_REQUEST
|
private static int |
EXTENDED_RESPONSE
|
private static int |
EXTENDED_RESPONSE_NAME
|
private static int |
EXTENDED_RESPONSE_RESPONSE
|
private static int |
EXTENSIBLE_MATCH
|
private RfcFilter |
filter
|
private static int |
FILTER
|
private static int |
FINAL
|
private static int |
GREATER_OR_EQUAL
|
private static int |
INITIAL
|
private boolean |
isAddRequest
|
private boolean |
isBase64
|
private boolean |
isDNMatching
|
private boolean |
isextendedstate
|
private boolean |
isParallel
|
private boolean |
isResumeOnError
|
private boolean |
isUnordered
|
private static int |
LDAP_RESPONSE
|
private static int |
LESS_OR_EQUAL
|
private java.lang.String |
matchingRule
|
private LDAPMessage |
message
|
private static int |
MESSAGE
|
private static int |
MODIFICATION
|
private static int |
MODIFY_DN_REQUEST
|
private static int |
MODIFY_REQUEST
|
private static int |
MODIFY_RESPONSE
|
private static int |
MODIFYDN_RESPONSE
|
private java.util.ArrayList |
modlist
|
private java.lang.String |
newRDN
|
private java.lang.String |
newSuperior
|
private static int |
NOT
|
private java.lang.String |
oid
|
private int |
operation
|
private static int |
OR
|
private static int |
PRESENT
|
private int |
prevstate
|
private java.util.ArrayList |
queue
Holds parsed LDAPMessages ready for use |
private static int |
REFERRAL_LIST
|
private java.util.ArrayList |
referrallist
|
private java.lang.String |
requestID
|
private java.lang.String |
requestName
|
private static java.util.HashMap |
requestTags
|
private byte[] |
requestValue
|
private int |
responsecode
|
private java.lang.String |
responseDesc
|
private int |
responsetype
|
private static int |
RESULT_CODE
|
private int |
scope
|
private static int |
SEARCH_REQUEST
|
private static int |
SEARCH_RESPONSE
|
private static int |
SEARCH_RESULT_DONE
|
private static int |
SEARCH_RESULT_ENTRY
|
private static int |
SEARCH_RESULT_REFERENCE
|
private static int |
SEARCH_RESULT_REFERENCE_REF
|
private LDAPSearchConstraints |
searchCons
|
private java.lang.String |
searchResponseid
|
private static int |
START
|
private int |
state
state contains the internal parsing state |
private static int |
SUBSTRINGS
|
private boolean |
typesOnly
|
private java.lang.StringBuffer |
value
|
private static int |
VALUE
|
private int |
valueState
|
private static int |
X_NAME
|
private static int |
X_VALUE
|
Constructor Summary | |
---|---|
DSMLHandler()
|
Method Summary | |
---|---|
void |
characters(char[] a,
int s,
int l)
|
void |
endDocument()
Receive notification of the end of the document. |
void |
endElement(java.lang.String strNamespaceURI,
java.lang.String strSName,
java.lang.String strQName)
|
void |
endPrefixMapping(java.lang.String prefix)
Receive notification of the end of a Namespace mapping. |
void |
error(org.xml.sax.SAXParseException e)
|
void |
fatalError(org.xml.sax.SAXParseException e)
|
(package private) java.lang.String |
getBatchRequestID()
|
(package private) java.util.ArrayList |
getErrors()
|
(package private) java.util.ArrayList |
getQueue()
|
private void |
handleControl(org.xml.sax.Attributes attrs)
|
private void |
handleFilter(int tag,
org.xml.sax.Attributes attrs,
java.lang.String strSName)
|
void |
ignorableWhitespace(char[] ch,
int start,
int length)
Receive notification of ignorable whitespace in element content. |
(package private) boolean |
isParallelProcessing()
|
(package private) boolean |
isResponseUnordered()
|
(package private) boolean |
isResumeOnError()
|
private void |
parseTagAttributes(int tag,
org.xml.sax.Attributes attrs)
|
void |
processingInstruction(java.lang.String target,
java.lang.String data)
Receive notification of a processing instruction. |
void |
setDocumentLocator(org.xml.sax.Locator locator)
Receive a Locator object for document events. |
void |
skippedEntity(java.lang.String name)
Receive notification of a skipped entity. |
void |
startDocument()
Receive notification of the beginning of the document. |
void |
startElement(java.lang.String strNamespaceURI,
java.lang.String strSName,
java.lang.String strQName,
org.xml.sax.Attributes attrs)
|
void |
startPrefixMapping(java.lang.String prefix,
java.lang.String uri)
Receive notification of the start of a Namespace mapping. |
void |
warning(org.xml.sax.SAXParseException e)
|
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
---|
notationDecl, resolveEntity, unparsedEntityDecl |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private boolean isAddRequest
private java.util.ArrayList queue
private LDAPMessage message
private LDAPEntry entry
private LDAPAttributeSet attrSet
private java.util.ArrayList attributeValues
private java.util.ArrayList attributeNames
private java.util.ArrayList modlist
private LDAPSearchConstraints searchCons
private java.lang.String attrName
private java.lang.String dn
private java.lang.String newRDN
private java.lang.String newSuperior
private java.lang.String requestName
private byte[] requestValue
private java.lang.StringBuffer value
private boolean typesOnly
private boolean deleteOldRDN
private boolean isBase64
private int scope
private int operation
private RfcFilter filter
private boolean isDNMatching
private java.lang.String matchingRule
private java.util.ArrayList controls
private java.util.ArrayList referrallist
private int responsetype
private int responsecode
private java.lang.String responseDesc
private java.lang.String errorMessage
private static final int START
private static final int BATCH_REQUEST
private static final int AUTH_REQUEST
private static final int MODIFY_REQUEST
private static final int SEARCH_REQUEST
private static final int ADD_REQUEST
private static final int DELETE_REQUEST
private static final int MODIFY_DN_REQUEST
private static final int COMPARE_REQUEST
private static final int EXTENDED_REQUEST
private static final int ASSERTION
private static final int VALUE
private static final int ATTRIBUTES
private static final int ATTRIBUTE
private static final int FILTER
private static final int AND
private static final int OR
private static final int NOT
private static final int EQUALITY_MATCH
private static final int SUBSTRINGS
private static final int GREATER_OR_EQUAL
private static final int LESS_OR_EQUAL
private static final int PRESENT
private static final int APPROXIMATE_MATCH
private static final int EXTENSIBLE_MATCH
private static final int INITIAL
private static final int ANY
private static final int FINAL
private static final int ADD_ATTRIBUTE
private static final int MODIFICATION
private static final int X_NAME
private static final int X_VALUE
private static final int CONTROL
private static final int BATCH_RESPONSE
private static final int ADD_RESPONSE
private static final int LDAP_RESPONSE
private static final int RESULT_CODE
private static final int ERROR_MESSAGE
private static final int ERROR_RESPONSE
private static final int MESSAGE
private static final int REFERRAL_LIST
private static final int SEARCH_RESPONSE
private static final int SEARCH_RESULT_ENTRY
private static final int SEARCH_RESULT_REFERENCE
private static final int SEARCH_RESULT_REFERENCE_REF
private static final int SEARCH_RESULT_DONE
private static final int EXTENDED_RESPONSE
private static final int EXTENDED_RESPONSE_NAME
private static final int EXTENDED_RESPONSE_RESPONSE
private static final int AUTH_RESPONSE
private static final int MODIFY_RESPONSE
private static final int DEL_RESPONSE
private static final int MODIFYDN_RESPONSE
private static final int COMPARE_RESPONSE
private int state
private static final java.util.HashMap requestTags
private int valueState
private boolean critical
private java.lang.String oid
private java.lang.String requestID
private java.lang.String batchRequestID
private boolean isParallel
private boolean isUnordered
private boolean isResumeOnError
private int prevstate
private boolean isextendedstate
private java.lang.String searchResponseid
private java.lang.String errorType
private java.util.ArrayList errors
Constructor Detail |
---|
DSMLHandler()
Method Detail |
---|
public void startElement(java.lang.String strNamespaceURI, java.lang.String strSName, java.lang.String strQName, org.xml.sax.Attributes attrs) throws org.xml.sax.SAXException
startElement
in interface org.xml.sax.ContentHandler
startElement
in class org.xml.sax.helpers.DefaultHandler
org.xml.sax.SAXException
private void handleControl(org.xml.sax.Attributes attrs) throws org.xml.sax.SAXException
org.xml.sax.SAXException
private void handleFilter(int tag, org.xml.sax.Attributes attrs, java.lang.String strSName) throws org.xml.sax.SAXException
org.xml.sax.SAXException
private void parseTagAttributes(int tag, org.xml.sax.Attributes attrs) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public void characters(char[] a, int s, int l)
characters
in interface org.xml.sax.ContentHandler
characters
in class org.xml.sax.helpers.DefaultHandler
public void endElement(java.lang.String strNamespaceURI, java.lang.String strSName, java.lang.String strQName) throws org.xml.sax.SAXException
endElement
in interface org.xml.sax.ContentHandler
endElement
in class org.xml.sax.helpers.DefaultHandler
org.xml.sax.SAXException
public void warning(org.xml.sax.SAXParseException e) throws org.xml.sax.SAXException
warning
in interface org.xml.sax.ErrorHandler
warning
in class org.xml.sax.helpers.DefaultHandler
org.xml.sax.SAXException
public void error(org.xml.sax.SAXParseException e) throws org.xml.sax.SAXException
error
in interface org.xml.sax.ErrorHandler
error
in class org.xml.sax.helpers.DefaultHandler
org.xml.sax.SAXException
public void fatalError(org.xml.sax.SAXParseException e) throws org.xml.sax.SAXException
fatalError
in interface org.xml.sax.ErrorHandler
fatalError
in class org.xml.sax.helpers.DefaultHandler
org.xml.sax.SAXException
public void setDocumentLocator(org.xml.sax.Locator locator)
By default, do nothing. Application writers may override this method in a subclass if they wish to store the locator for use with other document events.
setDocumentLocator
in interface org.xml.sax.ContentHandler
setDocumentLocator
in class org.xml.sax.helpers.DefaultHandler
locator
- A locator for all SAX document events.ContentHandler.setDocumentLocator(org.xml.sax.Locator)
,
Locator
public void startDocument() throws org.xml.sax.SAXException
By default, do nothing. Application writers may override this method in a subclass to take specific actions at the beginning of a document (such as allocating the root node of a tree or creating an output file).
startDocument
in interface org.xml.sax.ContentHandler
startDocument
in class org.xml.sax.helpers.DefaultHandler
org.xml.sax.SAXException
- Any SAX exception, possibly
wrapping another exception.ContentHandler.startDocument()
public void endDocument() throws org.xml.sax.SAXException
By default, do nothing. Application writers may override this method in a subclass to take specific actions at the end of a document (such as finalising a tree or closing an output file).
endDocument
in interface org.xml.sax.ContentHandler
endDocument
in class org.xml.sax.helpers.DefaultHandler
org.xml.sax.SAXException
- Any SAX exception, possibly
wrapping another exception.ContentHandler.endDocument()
public void startPrefixMapping(java.lang.String prefix, java.lang.String uri) throws org.xml.sax.SAXException
By default, do nothing. Application writers may override this method in a subclass to take specific actions at the start of each Namespace prefix scope (such as storing the prefix mapping).
startPrefixMapping
in interface org.xml.sax.ContentHandler
startPrefixMapping
in class org.xml.sax.helpers.DefaultHandler
prefix
- The Namespace prefix being declared.uri
- The Namespace URI mapped to the prefix.
org.xml.sax.SAXException
- Any SAX exception, possibly
wrapping another exception.ContentHandler.startPrefixMapping(java.lang.String, java.lang.String)
public void endPrefixMapping(java.lang.String prefix) throws org.xml.sax.SAXException
By default, do nothing. Application writers may override this method in a subclass to take specific actions at the end of each prefix mapping.
endPrefixMapping
in interface org.xml.sax.ContentHandler
endPrefixMapping
in class org.xml.sax.helpers.DefaultHandler
prefix
- The Namespace prefix being declared.
org.xml.sax.SAXException
- Any SAX exception, possibly
wrapping another exception.ContentHandler.endPrefixMapping(java.lang.String)
public void ignorableWhitespace(char[] ch, int start, int length) throws org.xml.sax.SAXException
By default, do nothing. Application writers may override this method to take specific actions for each chunk of ignorable whitespace (such as adding data to a node or buffer, or printing it to a file).
ignorableWhitespace
in interface org.xml.sax.ContentHandler
ignorableWhitespace
in class org.xml.sax.helpers.DefaultHandler
ch
- The whitespace characters.start
- The start position in the character array.length
- The number of characters to use from the
character array.
org.xml.sax.SAXException
- Any SAX exception, possibly
wrapping another exception.ContentHandler.ignorableWhitespace(char[], int, int)
public void processingInstruction(java.lang.String target, java.lang.String data) throws org.xml.sax.SAXException
By default, do nothing. Application writers may override this method in a subclass to take specific actions for each processing instruction, such as setting status variables or invoking other methods.
processingInstruction
in interface org.xml.sax.ContentHandler
processingInstruction
in class org.xml.sax.helpers.DefaultHandler
target
- The processing instruction target.data
- The processing instruction data, or null if
none is supplied.
org.xml.sax.SAXException
- Any SAX exception, possibly
wrapping another exception.ContentHandler.processingInstruction(java.lang.String, java.lang.String)
public void skippedEntity(java.lang.String name) throws org.xml.sax.SAXException
By default, do nothing. Application writers may override this method in a subclass to take specific actions for each processing instruction, such as setting status variables or invoking other methods.
skippedEntity
in interface org.xml.sax.ContentHandler
skippedEntity
in class org.xml.sax.helpers.DefaultHandler
name
- The name of the skipped entity.
org.xml.sax.SAXException
- Any SAX exception, possibly
wrapping another exception.ContentHandler.processingInstruction(java.lang.String, java.lang.String)
java.lang.String getBatchRequestID()
boolean isParallelProcessing()
boolean isResponseUnordered()
boolean isResumeOnError()
java.util.ArrayList getQueue()
java.util.ArrayList getErrors()
|
All LDAP Classes Internal LDAP Classes |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |