Example #1
0
        public XRI3Reference(XRIReference xriReference, string xriPart)
        {
            StringBuilder buffer = new StringBuilder();

            buffer.Append(xriReference.ToString());
            buffer.Append(xriPart);

            this.rule = XRI3Util.getParser().parse("xri-reference", buffer.ToString());
            this.read();
        }
Example #2
0
        public XRI3SubSegment(char gcs, XRISubSegment localSubSegment)
        {
            StringBuilder buffer = new StringBuilder();

            buffer.Append(gcs);
            buffer.Append(localSubSegment.ToString());

            this.rule = XRI3Util.getParser().parse("subseg", buffer.ToString());
            this.read();
        }
Example #3
0
        public XRI3SubSegment(char cs, string uri)
        {
            StringBuilder buffer = new StringBuilder();

            buffer.Append(cs.ToString());
            buffer.Append(XRI3Constants.XREF_START);
            buffer.Append(uri);
            buffer.Append(XRI3Constants.XREF_END);

            this.rule = XRI3Util.getParser().parse("subseg", buffer.ToString());
            this.read();
        }
Example #4
0
 public XRI3SubSegment(string value)
 {
     this.rule = XRI3Util.getParser().parse("subseg", value);
     this.read();
 }
Example #5
0
 public int CompareTo(Rule rule)
 {
     return spelling.CompareTo(rule.spelling);
 }
Example #6
0
 public XRI3Query(string value)
 {
     this.rule = XRI3Util.getParser().parse("iquery", value);
     this.read();
 }
Example #7
0
 public XRI3Path(string value)
 {
     this.rule = XRI3Util.getParser().parse("xri-path", value);
     this.read();
 }
Example #8
0
 public XRI3XRef(string value)
 {
     this.rule = XRI3Util.getParser().parse("xref", value);
     this.read();
 }
Example #9
0
 public void visit(Rule rule)
 {
     rule.visit(this);
 }
Example #10
0
 internal XRI3Literal(Rule rule)
 {
     this.rule = rule;
     this.read();
 }
Example #11
0
 public XRI3Literal(string value)
 {
     this.rule = XRI3Util.getParser().parse("literal", value);
     this.read();
 }
Example #12
0
        public XRI3(char gcs, string uri)
        {
            StringBuilder buffer = new StringBuilder();

            buffer.Append(gcs.ToString());
            buffer.Append(XRI3Constants.XREF_START);
            buffer.Append(uri);
            buffer.Append(XRI3Constants.XREF_END);

            this.rule = XRI3Util.getParser().parse("xri", buffer.ToString());
            this.read();
        }
Example #13
0
        public XRI3(XRI xri, string xriPart)
        {
            StringBuilder buffer = new StringBuilder();

            buffer.Append(xri.ToString());
            buffer.Append(xriPart);

            this.rule = XRI3Util.getParser().parse("xri", buffer.ToString());
            this.read();
        }
Example #14
0
 internal XRI3Reference(Rule rule)
 {
     this.rule = rule;
     this.read();
 }
Example #15
0
 public XRI3Segment(string value)
 {
     this.rule = XRI3Util.getParser().parse("xri-segment", value);
     this.read();
 }
Example #16
0
 internal XRI3SubSegment(Rule rule)
 {
     this.rule = rule;
     this.read();
 }
Example #17
0
 public XRI3Fragment(string value)
 {
     this.rule = XRI3Util.getParser().parse("ifragment", value);
     this.read();
 }
Example #18
0
 internal XRI3XRef(Rule rule)
 {
     this.rule = rule;
     this.read();
 }
Example #19
0
 internal XRI3Fragment(Rule rule)
 {
     this.rule = rule;
     this.read();
 }
Example #20
0
 internal XRI3Path(Rule rule)
 {
     this.rule = rule;
     this.read();
 }
Example #21
0
 public Rule(Rule rule)
     : this(rule.spelling, rule.rules)
 {
 }
Example #22
0
 internal XRI3Query(Rule rule)
 {
     this.rule = rule;
     this.read();
 }
Example #23
0
 public XRI3Reference(string value)
 {
     this.rule = XRI3Util.getParser().parse("xri-reference", value);
     this.read();
 }