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

The following examples show how to use com.sun.xml.internal.xsom.XSAnnotation. 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: SchemaImpl.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
public void setAnnotation(XSAnnotation a) {
    annotation = a;
}
 
Example #2
Source File: NameGetter.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
public String annotation(XSAnnotation ann) {
    return localize("annotation");
}
 
Example #3
Source File: DefaultClassBinder.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
public CClassInfo annotation(XSAnnotation annon) {
    assert false;
    return null;
}
 
Example #4
Source File: SchemaWriter.java    From jdk8u60 with GNU General Public License v2.0 4 votes vote down vote up
public void annotation( XSAnnotation ann ) {
    // TODO: it would be nice even if we just put <xs:documentation>
}
 
Example #5
Source File: SchemaImpl.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
public XSAnnotation getAnnotation(boolean createIfNotExist) {
    if(createIfNotExist && annotation==null)
        annotation = new AnnotationImpl();
    return annotation;
}
 
Example #6
Source File: SchemaImpl.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
public XSAnnotation getAnnotation() {
    return annotation;
}
 
Example #7
Source File: SchemaImpl.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
public void setAnnotation(XSAnnotation a) {
    annotation = a;
}
 
Example #8
Source File: SchemaTreeTraverser.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
public void annotation(XSAnnotation ann) {
    // TODO: it would be nice even if we just put <xs:documentation>
}
 
Example #9
Source File: ComponentImpl.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
public XSAnnotation getAnnotation(boolean createIfNotExist) {
    if(createIfNotExist && annotation==null) {
        annotation = new AnnotationImpl();
    }
    return annotation;
}
 
Example #10
Source File: ClassBinderFilter.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
public CElement annotation(XSAnnotation xsAnnotation) {
    return core.annotation(xsAnnotation);
}
 
Example #11
Source File: ColorBinder.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
public final void annotation(XSAnnotation xsAnnotation) {
    throw new IllegalStateException();
}
 
Example #12
Source File: XSFunctionFilter.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
public T annotation(XSAnnotation ann) {
    return core.annotation(ann);
}
 
Example #13
Source File: NameGetter.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
public String annotation(XSAnnotation ann) {
    return localize("annotation");
}
 
Example #14
Source File: XSFinder.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
/**
 * @see com.sun.xml.internal.xsom.visitor.XSFunction#annotation(com.sun.xml.internal.xsom.XSAnnotation)
 */
public Boolean annotation(XSAnnotation ann) {
    return Boolean.FALSE;
}
 
Example #15
Source File: XSFunctionFilter.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
public T annotation(XSAnnotation ann) {
    return core.annotation(ann);
}
 
Example #16
Source File: ComponentImpl.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
public XSAnnotation getAnnotation(boolean createIfNotExist) {
    if(createIfNotExist && annotation==null) {
        annotation = new AnnotationImpl();
    }
    return annotation;
}
 
Example #17
Source File: ComponentNameFunction.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
/**
 * @see com.sun.xml.internal.xsom.visitor.XSFunction#annotation(XSAnnotation)
 */
public String annotation(XSAnnotation ann) {
    // unnamed component
    return nameGetter.annotation( ann );
}
 
Example #18
Source File: NameGetter.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
public String annotation(XSAnnotation ann) {
    return localize("annotation");
}
 
Example #19
Source File: ClassBinderFilter.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
public CElement annotation(XSAnnotation xsAnnotation) {
    return core.annotation(xsAnnotation);
}
 
Example #20
Source File: XSFinder.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
/**
 * @see com.sun.xml.internal.xsom.visitor.XSFunction#annotation(com.sun.xml.internal.xsom.XSAnnotation)
 */
public Boolean annotation(XSAnnotation ann) {
    return Boolean.FALSE;
}
 
Example #21
Source File: SchemaTreeTraverser.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
public void annotation(XSAnnotation ann) {
    // TODO: it would be nice even if we just put <xs:documentation>
}
 
Example #22
Source File: ColorBinder.java    From jdk8u60 with GNU General Public License v2.0 4 votes vote down vote up
public final void annotation(XSAnnotation xsAnnotation) {
    throw new IllegalStateException();
}
 
Example #23
Source File: ClassBinderFilter.java    From jdk8u60 with GNU General Public License v2.0 4 votes vote down vote up
public CElement annotation(XSAnnotation xsAnnotation) {
    return core.annotation(xsAnnotation);
}
 
Example #24
Source File: DefaultClassBinder.java    From jdk8u60 with GNU General Public License v2.0 4 votes vote down vote up
public CClassInfo annotation(XSAnnotation annon) {
    assert false;
    return null;
}
 
Example #25
Source File: SchemaWriter.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
public void annotation( XSAnnotation ann ) {
    // TODO: it would be nice even if we just put <xs:documentation>
}
 
Example #26
Source File: AbstractAxisImpl.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
public Iterator<T> annotation(XSAnnotation ann) {
    return empty();
}
 
Example #27
Source File: SchemaImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
public XSAnnotation getAnnotation(boolean createIfNotExist) {
    if(createIfNotExist && annotation==null)
        annotation = new AnnotationImpl();
    return annotation;
}
 
Example #28
Source File: AbstractAxisImpl.java    From jdk8u60 with GNU General Public License v2.0 4 votes vote down vote up
public Iterator<T> annotation(XSAnnotation ann) {
    return empty();
}
 
Example #29
Source File: SchemaImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
public XSAnnotation getAnnotation() {
    return annotation;
}
 
Example #30
Source File: SchemaImpl.java    From jdk8u60 with GNU General Public License v2.0 4 votes vote down vote up
public XSAnnotation getAnnotation(boolean createIfNotExist) {
    if(createIfNotExist && annotation==null)
        annotation = new AnnotationImpl();
    return annotation;
}