Package org.tmatesoft.svn.core.wc.xml
Class SVNXMLInfoHandler
java.lang.Object
org.tmatesoft.svn.core.wc.xml.AbstractXMLHandler
org.tmatesoft.svn.core.wc.xml.SVNXMLInfoHandler
- All Implemented Interfaces:
ISVNInfoHandler
,Locator
- Since:
- 1.2
- Version:
- 1.3
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private File
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
-
Constructor Summary
ConstructorsConstructorDescriptionSVNXMLInfoHandler
(ContentHandler contentHandler) Creates a new info handler.SVNXMLInfoHandler
(ContentHandler contentHandler, ISVNDebugLog log) Creates a new info handler. -
Method Summary
Modifier and TypeMethodDescriptionprotected String
protected String
getRelativePath
(File path) protected String
void
handleInfo
(SVNInfo info) Handles info producing corresponding xml.private void
sendToHandler
(SVNInfo info) void
setTargetPath
(File path) Sets the target path what makes all paths be relative to this one.Methods inherited from class org.tmatesoft.svn.core.wc.xml.AbstractXMLHandler
addAttribute, addTag, closeTag, endDocument, getColumnNumber, getDebugLog, getLineNumber, getPublicId, getSystemId, openTag, startDocument
-
Field Details
-
INFO_TAG
- See Also:
-
ENTRY_TAG
- See Also:
-
REVISION_ATTR
- See Also:
-
PATH_ATTR
- See Also:
-
KIND_ATTR
- See Also:
-
URL_TAG
- See Also:
-
REPOSITORY_TAG
- See Also:
-
UUID_TAG
- See Also:
-
ROOT_TAG
- See Also:
-
WC_INFO_TAG
- See Also:
-
SCHEDULE_TAG
- See Also:
-
COPY_FROM_URL_TAG
- See Also:
-
COPY_FROM_REVISION_TAG
- See Also:
-
CHECKSUM_TAG
- See Also:
-
TEXT_TIME_TAG
- See Also:
-
PROP_TIME_TAG
- See Also:
-
COMMIT_TAG
- See Also:
-
AUTHOR_TAG
- See Also:
-
DATE_TAG
- See Also:
-
CONFLICT_TAG
- See Also:
-
OLD_CONFLICT_TAG
- See Also:
-
WRK_CONFLICT_TAG
- See Also:
-
NEW_CONFLICT_TAG
- See Also:
-
PROP_CONFLICT_TAG
- See Also:
-
TOKEN_TAG
- See Also:
-
OWNER_TAG
- See Also:
-
COMMENT_TAG
- See Also:
-
CREATED_TAG
- See Also:
-
EXPIRES_TAG
- See Also:
-
LOCK_TAG
- See Also:
-
DEPTH_TAG
- See Also:
-
CHANGELIST_TAG
- See Also:
-
myTargetPath
-
-
Constructor Details
-
SVNXMLInfoHandler
Creates a new info handler.- Parameters:
contentHandler
- a ContentHandler to form an XML tree
-
SVNXMLInfoHandler
Creates a new info handler.- Parameters:
contentHandler
- a ContentHandler to form an XML treelog
- a debug logger
-
-
Method Details
-
setTargetPath
Sets the target path what makes all paths be relative to this one.- Parameters:
path
- target path
-
getHeaderName
- Specified by:
getHeaderName
in classAbstractXMLHandler
-
handleInfo
Handles info producing corresponding xml.- Specified by:
handleInfo
in interfaceISVNInfoHandler
- Parameters:
info
- info- Throws:
SVNException
-
sendToHandler
- Throws:
SAXException
-
getRelativePath
-
getTargetPath
-