Package org.alfresco.repo.virtual.ref
Class ZeroReferenceParser
java.lang.Object
org.alfresco.repo.virtual.ref.ZeroReferenceParser
- All Implemented Interfaces:
Serializable,ReferenceParser,ZeroEncoding
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.alfresco.repo.virtual.ref.ReferenceParser
ReferenceParser.Cursor -
Field Summary
Fields inherited from interface org.alfresco.repo.virtual.ref.ZeroEncoding
CLASSPATH_RESOURCE_CODE, DELIMITER, NODE_CODE, NODE_PROTOCOL_CODE, PATH_CODE, REFERENCE_DELIMITER, REFERENCE_PARAMETER, REPOSITORY_RESOURCE_CODE, RESOURCE_PARAMETER, STRING_PARAMETER, VANILLA_PROTOCOL_CODE, VIRTUAL_PROTOCOL_CODE -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ZeroReferenceParser
public ZeroReferenceParser()
-
-
Method Details
-
parse
Parses a String representation of aReferenceand returns the correspondingReference. Parsing is done with the help of theReferenceParser.Cursorclass, which keeps track of the String elements that make up theReferenceString representation. This method instantiates and initiates the cursor and checks the validity of the referenceString and relies upon theparseReference(org.alfresco.repo.virtual.ref.ReferenceParser.Cursor)for the actual parsing.- Specified by:
parsein interfaceReferenceParser- Parameters:
referenceString- the String representation of aReference.- Returns:
- the newly created
Reference - Throws:
ReferenceParseException
-