Exemple #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();
        }
Exemple #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();
        }
Exemple #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();
        }
Exemple #4
0
 public XRI3SubSegment(string value)
 {
     this.rule = XRI3Util.getParser().parse("subseg", value);
     this.read();
 }
Exemple #5
0
 public int CompareTo(Rule rule)
 {
     return spelling.CompareTo(rule.spelling);
 }
Exemple #6
0
 public XRI3Query(string value)
 {
     this.rule = XRI3Util.getParser().parse("iquery", value);
     this.read();
 }
Exemple #7
0
 public XRI3Path(string value)
 {
     this.rule = XRI3Util.getParser().parse("xri-path", value);
     this.read();
 }
Exemple #8
0
 public XRI3XRef(string value)
 {
     this.rule = XRI3Util.getParser().parse("xref", value);
     this.read();
 }
Exemple #9
0
 public void visit(Rule rule)
 {
     rule.visit(this);
 }
Exemple #10
0
 internal XRI3Literal(Rule rule)
 {
     this.rule = rule;
     this.read();
 }
Exemple #11
0
 public XRI3Literal(string value)
 {
     this.rule = XRI3Util.getParser().parse("literal", value);
     this.read();
 }
Exemple #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();
        }
Exemple #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();
        }
Exemple #14
0
 internal XRI3Reference(Rule rule)
 {
     this.rule = rule;
     this.read();
 }
Exemple #15
0
 public XRI3Segment(string value)
 {
     this.rule = XRI3Util.getParser().parse("xri-segment", value);
     this.read();
 }
Exemple #16
0
 internal XRI3SubSegment(Rule rule)
 {
     this.rule = rule;
     this.read();
 }
Exemple #17
0
 public XRI3Fragment(string value)
 {
     this.rule = XRI3Util.getParser().parse("ifragment", value);
     this.read();
 }
Exemple #18
0
 internal XRI3XRef(Rule rule)
 {
     this.rule = rule;
     this.read();
 }
Exemple #19
0
 internal XRI3Fragment(Rule rule)
 {
     this.rule = rule;
     this.read();
 }
Exemple #20
0
 internal XRI3Path(Rule rule)
 {
     this.rule = rule;
     this.read();
 }
Exemple #21
0
 public Rule(Rule rule)
     : this(rule.spelling, rule.rules)
 {
 }
Exemple #22
0
 internal XRI3Query(Rule rule)
 {
     this.rule = rule;
     this.read();
 }
Exemple #23
0
 public XRI3Reference(string value)
 {
     this.rule = XRI3Util.getParser().parse("xri-reference", value);
     this.read();
 }