public class ZeroReferenceParser extends Object implements ReferenceParser, ZeroEncoding
ReferenceParser.Cursor
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 and Description |
---|
ZeroReferenceParser() |
public Reference parse(String referenceString) throws ReferenceParseException
Reference
and returns the
corresponding Reference
. Parsing is done with the help of the
Cursor
class, which keeps track of the String elements that make
up the Reference
String representation. This method instantiates
and initiates the cursor and checks the validity of the referenceString
and relies upon the parseReference(org.alfresco.repo.virtual.ref.ReferenceParser.Cursor)
for the
actual parsing.parse
in interface ReferenceParser
referenceString
- the String representation of a Reference
.Reference
ReferenceParseException
Copyright © 2005–2017 Alfresco Software. All rights reserved.