com.sun.xml.internal.xsom.XSXPath Java Examples

The following examples show how to use com.sun.xml.internal.xsom.XSXPath. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: UnusedCustomizationChecker.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
public void identityConstraint(XSIdentityConstraint id) {
    if(check(id)) {
        id.getSelector().visit(this);
        for( XSXPath xp : id.getFields() )
            xp.visit(this);
    }
}
 
Example #2
Source File: UnusedCustomizationChecker.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
public void identityConstraint(XSIdentityConstraint id) {
    if(check(id)) {
        id.getSelector().visit(this);
        for( XSXPath xp : id.getFields() )
            xp.visit(this);
    }
}
 
Example #3
Source File: IdentityConstraintImpl.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
public IdentityConstraintImpl(SchemaDocumentImpl _owner, AnnotationImpl _annon, Locator _loc,
    ForeignAttributesImpl fa, short category, String name, XPathImpl selector,
    List<XPathImpl> fields, Ref.IdentityConstraint refer) {

    super(_owner, _annon, _loc, fa);
    this.category = category;
    this.name = name;
    this.selector = selector;
    selector.setParent(this);
    this.fields = Collections.unmodifiableList((List<? extends XSXPath>)fields);
    for( XPathImpl xp : fields )
        xp.setParent(this);
    this.refer = refer;
}
 
Example #4
Source File: IdentityConstraintImpl.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
public IdentityConstraintImpl(SchemaDocumentImpl _owner, AnnotationImpl _annon, Locator _loc,
    ForeignAttributesImpl fa, short category, String name, XPathImpl selector,
    List<XPathImpl> fields, Ref.IdentityConstraint refer) {

    super(_owner, _annon, _loc, fa);
    this.category = category;
    this.name = name;
    this.selector = selector;
    selector.setParent(this);
    this.fields = Collections.unmodifiableList((List<? extends XSXPath>)fields);
    for( XPathImpl xp : fields )
        xp.setParent(this);
    this.refer = refer;
}
 
Example #5
Source File: IdentityConstraintImpl.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
public IdentityConstraintImpl(SchemaDocumentImpl _owner, AnnotationImpl _annon, Locator _loc,
    ForeignAttributesImpl fa, short category, String name, XPathImpl selector,
    List<XPathImpl> fields, Ref.IdentityConstraint refer) {

    super(_owner, _annon, _loc, fa);
    this.category = category;
    this.name = name;
    this.selector = selector;
    selector.setParent(this);
    this.fields = Collections.unmodifiableList((List<? extends XSXPath>)fields);
    for( XPathImpl xp : fields )
        xp.setParent(this);
    this.refer = refer;
}
 
Example #6
Source File: IdentityConstraintImpl.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
public IdentityConstraintImpl(SchemaDocumentImpl _owner, AnnotationImpl _annon, Locator _loc,
    ForeignAttributesImpl fa, short category, String name, XPathImpl selector,
    List<XPathImpl> fields, Ref.IdentityConstraint refer) {

    super(_owner, _annon, _loc, fa);
    this.category = category;
    this.name = name;
    this.selector = selector;
    selector.setParent(this);
    this.fields = Collections.unmodifiableList((List<? extends XSXPath>)fields);
    for( XPathImpl xp : fields )
        xp.setParent(this);
    this.refer = refer;
}
 
Example #7
Source File: UnusedCustomizationChecker.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
public void identityConstraint(XSIdentityConstraint id) {
    if(check(id)) {
        id.getSelector().visit(this);
        for( XSXPath xp : id.getFields() )
            xp.visit(this);
    }
}
 
Example #8
Source File: UnusedCustomizationChecker.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
public void identityConstraint(XSIdentityConstraint id) {
    if(check(id)) {
        id.getSelector().visit(this);
        for( XSXPath xp : id.getFields() )
            xp.visit(this);
    }
}
 
Example #9
Source File: IdentityConstraintImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
public IdentityConstraintImpl(SchemaDocumentImpl _owner, AnnotationImpl _annon, Locator _loc,
    ForeignAttributesImpl fa, short category, String name, XPathImpl selector,
    List<XPathImpl> fields, Ref.IdentityConstraint refer) {

    super(_owner, _annon, _loc, fa);
    this.category = category;
    this.name = name;
    this.selector = selector;
    selector.setParent(this);
    this.fields = (List<XSXPath>) Collections.unmodifiableList((List<? extends XSXPath>)fields);
    for( XPathImpl xp : fields )
        xp.setParent(this);
    this.refer = refer;
}
 
Example #10
Source File: UnusedCustomizationChecker.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
public void identityConstraint(XSIdentityConstraint id) {
    if(check(id)) {
        id.getSelector().visit(this);
        for( XSXPath xp : id.getFields() )
            xp.visit(this);
    }
}
 
Example #11
Source File: IdentityConstraintImpl.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
public IdentityConstraintImpl(SchemaDocumentImpl _owner, AnnotationImpl _annon, Locator _loc,
    ForeignAttributesImpl fa, short category, String name, XPathImpl selector,
    List<XPathImpl> fields, Ref.IdentityConstraint refer) {

    super(_owner, _annon, _loc, fa);
    this.category = category;
    this.name = name;
    this.selector = selector;
    selector.setParent(this);
    this.fields = Collections.unmodifiableList((List<? extends XSXPath>)fields);
    for( XPathImpl xp : fields )
        xp.setParent(this);
    this.refer = refer;
}
 
Example #12
Source File: UnusedCustomizationChecker.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
public void identityConstraint(XSIdentityConstraint id) {
    if(check(id)) {
        id.getSelector().visit(this);
        for( XSXPath xp : id.getFields() )
            xp.visit(this);
    }
}
 
Example #13
Source File: UnusedCustomizationChecker.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
public void identityConstraint(XSIdentityConstraint id) {
    if(check(id)) {
        id.getSelector().visit(this);
        for( XSXPath xp : id.getFields() )
            xp.visit(this);
    }
}
 
Example #14
Source File: IdentityConstraintImpl.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
public IdentityConstraintImpl(SchemaDocumentImpl _owner, AnnotationImpl _annon, Locator _loc,
    ForeignAttributesImpl fa, short category, String name, XPathImpl selector,
    List<XPathImpl> fields, Ref.IdentityConstraint refer) {

    super(_owner, _annon, _loc, fa);
    this.category = category;
    this.name = name;
    this.selector = selector;
    selector.setParent(this);
    this.fields = Collections.unmodifiableList((List<? extends XSXPath>)fields);
    for( XPathImpl xp : fields )
        xp.setParent(this);
    this.refer = refer;
}
 
Example #15
Source File: IdentityConstraintImpl.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
public IdentityConstraintImpl(SchemaDocumentImpl _owner, AnnotationImpl _annon, Locator _loc,
    ForeignAttributesImpl fa, short category, String name, XPathImpl selector,
    List<XPathImpl> fields, Ref.IdentityConstraint refer) {

    super(_owner, _annon, _loc, fa);
    this.category = category;
    this.name = name;
    this.selector = selector;
    selector.setParent(this);
    this.fields = Collections.unmodifiableList((List<? extends XSXPath>)fields);
    for( XPathImpl xp : fields )
        xp.setParent(this);
    this.refer = refer;
}
 
Example #16
Source File: UnusedCustomizationChecker.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
public void xpath(XSXPath xp) {
    check(xp);
}
 
Example #17
Source File: IdentityConstraintImpl.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
public List<XSXPath> getFields() {
    return fields;
}
 
Example #18
Source File: DefaultClassBinder.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
public CClassInfo xpath(XSXPath xsxPath) {
    return never();
}
 
Example #19
Source File: ClassBinderFilter.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
public CElement xpath(XSXPath xsxPath) {
    return core.xpath(xsxPath);
}
 
Example #20
Source File: SchemaWriter.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
public void xpath(XSXPath xp) {
    // TODO
}
 
Example #21
Source File: SchemaTreeTraverser.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
public void xpath(XSXPath xp) {
}
 
Example #22
Source File: IdentityConstraintImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
@Override
public List<XSXPath> getFields() {
    return fields;
}
 
Example #23
Source File: IdentityConstraintImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
@Override
public XSXPath getSelector() {
    return selector;
}
 
Example #24
Source File: ColorBinder.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
public final void xpath(XSXPath xsxPath) {
    throw new IllegalStateException();
}
 
Example #25
Source File: ClassBinderFilter.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
public CElement xpath(XSXPath xsxPath) {
    return core.xpath(xsxPath);
}
 
Example #26
Source File: DefaultClassBinder.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
public CClassInfo xpath(XSXPath xsxPath) {
    return never();
}
 
Example #27
Source File: UnusedCustomizationChecker.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
public void xpath(XSXPath xp) {
    check(xp);
}
 
Example #28
Source File: SchemaWriter.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
public void xpath(XSXPath xp) {
    // TODO
}
 
Example #29
Source File: UnusedCustomizationChecker.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
public void xpath(XSXPath xp) {
    check(xp);
}
 
Example #30
Source File: IdentityConstraintImpl.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
public List<XSXPath> getFields() {
    return fields;
}