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