org.openxri.xri3.impl
Class XRI3Authority
java.lang.Object
org.openxri.xri3.impl.XRI3SyntaxComponent
org.openxri.xri3.impl.XRI3Authority
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.lang.Comparable, XRIAuthority, XRISyntaxComponent
public class XRI3Authority
- extends XRI3SyntaxComponent
- implements XRIAuthority
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.lang.Comparable |
compareTo |
XRI3Authority
public XRI3Authority(java.lang.String string)
throws ParserException
- Throws:
ParserException
XRI3Authority
public XRI3Authority(XRIAuthority xriAuthority,
XRISubSegment xriSubSegment)
throws ParserException
- Throws:
ParserException
getParserObject
public Rule getParserObject()
- Specified by:
getParserObject
in class XRI3SyntaxComponent
getSubSegments
public java.util.List getSubSegments()
- Specified by:
getSubSegments
in interface XRIAuthority
getNumSubSegments
public int getNumSubSegments()
- Specified by:
getNumSubSegments
in interface XRIAuthority
getSubSegment
public XRISubSegment getSubSegment(int i)
- Specified by:
getSubSegment
in interface XRIAuthority
getFirstSubSegment
public XRISubSegment getFirstSubSegment()
- Specified by:
getFirstSubSegment
in interface XRIAuthority
getLastSubSegment
public XRISubSegment getLastSubSegment()
- Specified by:
getLastSubSegment
in interface XRIAuthority
startsWith
public boolean startsWith(XRISubSegment[] subSegments)
- Specified by:
startsWith
in interface XRIAuthority
Copyright © 2005-2012. All Rights Reserved.