Java 类javax.xml.bind.annotation.DomHandler 实例源码

项目:OpenJSharp    文件:ArrayReferenceNodeProperty.java   
public ArrayReferenceNodeProperty(JAXBContextImpl p, RuntimeReferencePropertyInfo prop) {
    super(p, prop, prop.getXmlName(), prop.isCollectionNillable());

    for (RuntimeElement e : prop.getElements()) {
        JaxBeanInfo bi = p.getOrCreate(e);
        expectedElements.put( e.getElementName().getNamespaceURI(),e.getElementName().getLocalPart(), bi );
    }

    isMixed = prop.isMixed();

    if(prop.getWildcard()!=null) {
        domHandler = (DomHandler) ClassFactory.create(prop.getDOMHandler());
        wcMode = prop.getWildcard();
    } else {
        domHandler = null;
        wcMode = null;
    }
}
项目:OpenJSharp    文件:SingleReferenceNodeProperty.java   
public SingleReferenceNodeProperty(JAXBContextImpl context, RuntimeReferencePropertyInfo prop) {
    super(context,prop);
    acc = prop.getAccessor().optimize(context);

    for (RuntimeElement e : prop.getElements()) {
        expectedElements.put( e.getElementName(), context.getOrCreate(e) );
    }

    if(prop.getWildcard()!=null) {
        domHandler = (DomHandler) ClassFactory.create(prop.getDOMHandler());
        wcMode = prop.getWildcard();
    } else {
        domHandler = null;
        wcMode = null;
    }
}
项目:openjdk-jdk10    文件:ArrayReferenceNodeProperty.java   
public ArrayReferenceNodeProperty(JAXBContextImpl p, RuntimeReferencePropertyInfo prop) {
    super(p, prop, prop.getXmlName(), prop.isCollectionNillable());

    for (RuntimeElement e : prop.getElements()) {
        JaxBeanInfo bi = p.getOrCreate(e);
        expectedElements.put( e.getElementName().getNamespaceURI(),e.getElementName().getLocalPart(), bi );
    }

    isMixed = prop.isMixed();

    if(prop.getWildcard()!=null) {
        domHandler = (DomHandler) ClassFactory.create(prop.getDOMHandler());
        wcMode = prop.getWildcard();
    } else {
        domHandler = null;
        wcMode = null;
    }
}
项目:openjdk-jdk10    文件:SingleReferenceNodeProperty.java   
public SingleReferenceNodeProperty(JAXBContextImpl context, RuntimeReferencePropertyInfo prop) {
    super(context,prop);
    acc = prop.getAccessor().optimize(context);

    for (RuntimeElement e : prop.getElements()) {
        expectedElements.put( e.getElementName(), context.getOrCreate(e) );
    }

    if(prop.getWildcard()!=null) {
        domHandler = (DomHandler) ClassFactory.create(prop.getDOMHandler());
        wcMode = prop.getWildcard();
    } else {
        domHandler = null;
        wcMode = null;
    }
}
项目:openjdk9    文件:ArrayReferenceNodeProperty.java   
public ArrayReferenceNodeProperty(JAXBContextImpl p, RuntimeReferencePropertyInfo prop) {
    super(p, prop, prop.getXmlName(), prop.isCollectionNillable());

    for (RuntimeElement e : prop.getElements()) {
        JaxBeanInfo bi = p.getOrCreate(e);
        expectedElements.put( e.getElementName().getNamespaceURI(),e.getElementName().getLocalPart(), bi );
    }

    isMixed = prop.isMixed();

    if(prop.getWildcard()!=null) {
        domHandler = (DomHandler) ClassFactory.create(prop.getDOMHandler());
        wcMode = prop.getWildcard();
    } else {
        domHandler = null;
        wcMode = null;
    }
}
项目:openjdk9    文件:SingleReferenceNodeProperty.java   
public SingleReferenceNodeProperty(JAXBContextImpl context, RuntimeReferencePropertyInfo prop) {
    super(context,prop);
    acc = prop.getAccessor().optimize(context);

    for (RuntimeElement e : prop.getElements()) {
        expectedElements.put( e.getElementName(), context.getOrCreate(e) );
    }

    if(prop.getWildcard()!=null) {
        domHandler = (DomHandler) ClassFactory.create(prop.getDOMHandler());
        wcMode = prop.getWildcard();
    } else {
        domHandler = null;
        wcMode = null;
    }
}
项目:lookaside_java-1.8.0-openjdk    文件:ArrayReferenceNodeProperty.java   
public ArrayReferenceNodeProperty(JAXBContextImpl p, RuntimeReferencePropertyInfo prop) {
    super(p, prop, prop.getXmlName(), prop.isCollectionNillable());

    for (RuntimeElement e : prop.getElements()) {
        JaxBeanInfo bi = p.getOrCreate(e);
        expectedElements.put( e.getElementName().getNamespaceURI(),e.getElementName().getLocalPart(), bi );
    }

    isMixed = prop.isMixed();

    if(prop.getWildcard()!=null) {
        domHandler = (DomHandler) ClassFactory.create(prop.getDOMHandler());
        wcMode = prop.getWildcard();
    } else {
        domHandler = null;
        wcMode = null;
    }
}
项目:lookaside_java-1.8.0-openjdk    文件:SingleReferenceNodeProperty.java   
public SingleReferenceNodeProperty(JAXBContextImpl context, RuntimeReferencePropertyInfo prop) {
    super(context,prop);
    acc = prop.getAccessor().optimize(context);

    for (RuntimeElement e : prop.getElements()) {
        expectedElements.put( e.getElementName(), context.getOrCreate(e) );
    }

    if(prop.getWildcard()!=null) {
        domHandler = (DomHandler) ClassFactory.create(prop.getDOMHandler());
        wcMode = prop.getWildcard();
    } else {
        domHandler = null;
        wcMode = null;
    }
}
项目:infobip-open-jdk-8    文件:ArrayReferenceNodeProperty.java   
public ArrayReferenceNodeProperty(JAXBContextImpl p, RuntimeReferencePropertyInfo prop) {
    super(p, prop, prop.getXmlName(), prop.isCollectionNillable());

    for (RuntimeElement e : prop.getElements()) {
        JaxBeanInfo bi = p.getOrCreate(e);
        expectedElements.put( e.getElementName().getNamespaceURI(),e.getElementName().getLocalPart(), bi );
    }

    isMixed = prop.isMixed();

    if(prop.getWildcard()!=null) {
        domHandler = (DomHandler) ClassFactory.create(prop.getDOMHandler());
        wcMode = prop.getWildcard();
    } else {
        domHandler = null;
        wcMode = null;
    }
}
项目:infobip-open-jdk-8    文件:SingleReferenceNodeProperty.java   
public SingleReferenceNodeProperty(JAXBContextImpl context, RuntimeReferencePropertyInfo prop) {
    super(context,prop);
    acc = prop.getAccessor().optimize(context);

    for (RuntimeElement e : prop.getElements()) {
        expectedElements.put( e.getElementName(), context.getOrCreate(e) );
    }

    if(prop.getWildcard()!=null) {
        domHandler = (DomHandler) ClassFactory.create(prop.getDOMHandler());
        wcMode = prop.getWildcard();
    } else {
        domHandler = null;
        wcMode = null;
    }
}
项目:cxf-plus    文件:ArrayReferenceNodeProperty.java   
public ArrayReferenceNodeProperty(JAXBContextImpl p, RuntimeReferencePropertyInfo prop) {
    super(p, prop, prop.getXmlName(), prop.isCollectionNillable());

    for (RuntimeElement e : prop.getElements()) {
        JaxBeanInfo bi = p.getOrCreate(e);
        expectedElements.put( e.getElementName().getNamespaceURI(),e.getElementName().getLocalPart(), bi );
    }

    isMixed = prop.isMixed();

    if(prop.getWildcard()!=null) {
        domHandler = (DomHandler) ClassFactory.create(prop.getDOMHandler().getWrappered());
        wcMode = prop.getWildcard();
    } else {
        domHandler = null;
        wcMode = null;
    }
}
项目:cxf-plus    文件:SingleReferenceNodeProperty.java   
public SingleReferenceNodeProperty(JAXBContextImpl context, RuntimeReferencePropertyInfo prop) {
    super(context,prop);
    acc = prop.getAccessor().optimize(context);

    for (RuntimeElement e : prop.getElements()) {
        expectedElements.put( e.getElementName(), context.getOrCreate(e) );
    }

    if(prop.getWildcard()!=null) {
        domHandler = (DomHandler) ClassFactory.create(prop.getDOMHandler().getWrappered());
        wcMode = prop.getWildcard();
    } else {
        domHandler = null;
        wcMode = null;
    }
}
项目:OLD-OpenJDK8    文件:ArrayReferenceNodeProperty.java   
public ArrayReferenceNodeProperty(JAXBContextImpl p, RuntimeReferencePropertyInfo prop) {
    super(p, prop, prop.getXmlName(), prop.isCollectionNillable());

    for (RuntimeElement e : prop.getElements()) {
        JaxBeanInfo bi = p.getOrCreate(e);
        expectedElements.put( e.getElementName().getNamespaceURI(),e.getElementName().getLocalPart(), bi );
    }

    isMixed = prop.isMixed();

    if(prop.getWildcard()!=null) {
        domHandler = (DomHandler) ClassFactory.create(prop.getDOMHandler());
        wcMode = prop.getWildcard();
    } else {
        domHandler = null;
        wcMode = null;
    }
}
项目:OLD-OpenJDK8    文件:SingleReferenceNodeProperty.java   
public SingleReferenceNodeProperty(JAXBContextImpl context, RuntimeReferencePropertyInfo prop) {
    super(context,prop);
    acc = prop.getAccessor().optimize(context);

    for (RuntimeElement e : prop.getElements()) {
        expectedElements.put( e.getElementName(), context.getOrCreate(e) );
    }

    if(prop.getWildcard()!=null) {
        domHandler = (DomHandler) ClassFactory.create(prop.getDOMHandler());
        wcMode = prop.getWildcard();
    } else {
        domHandler = null;
        wcMode = null;
    }
}
项目:openjdk-icedtea7    文件:ArrayReferenceNodeProperty.java   
public ArrayReferenceNodeProperty(JAXBContextImpl p, RuntimeReferencePropertyInfo prop) {
    super(p, prop, prop.getXmlName(), prop.isCollectionNillable());

    for (RuntimeElement e : prop.getElements()) {
        JaxBeanInfo bi = p.getOrCreate(e);
        expectedElements.put( e.getElementName().getNamespaceURI(),e.getElementName().getLocalPart(), bi );
    }

    isMixed = prop.isMixed();

    if(prop.getWildcard()!=null) {
        domHandler = (DomHandler) ClassFactory.create(prop.getDOMHandler());
        wcMode = prop.getWildcard();
    } else {
        domHandler = null;
        wcMode = null;
    }
}
项目:openjdk-icedtea7    文件:SingleReferenceNodeProperty.java   
public SingleReferenceNodeProperty(JAXBContextImpl context, RuntimeReferencePropertyInfo prop) {
    super(context,prop);
    acc = prop.getAccessor().optimize(context);

    for (RuntimeElement e : prop.getElements()) {
        expectedElements.put( e.getElementName(), context.getOrCreate(e) );
    }

    if(prop.getWildcard()!=null) {
        domHandler = (DomHandler) ClassFactory.create(prop.getDOMHandler());
        wcMode = prop.getWildcard();
    } else {
        domHandler = null;
        wcMode = null;
    }
}
项目:OpenJSharp    文件:XMLSerializer.java   
public <E> void writeDom(E element, DomHandler<E, ?> domHandler, Object parentBean, String fieldName) throws SAXException {
    Source source = domHandler.marshal(element,this);
    if(contentHandlerAdapter==null)
        contentHandlerAdapter = new ContentHandlerAdaptor(this);
    try {
        getIdentityTransformer().transform(source,new SAXResult(contentHandlerAdapter));
    } catch (TransformerException e) {
        reportError(fieldName,e);
    }
}
项目:openjdk-jdk10    文件:XMLSerializer.java   
public <E> void writeDom(E element, DomHandler<E, ?> domHandler, Object parentBean, String fieldName) throws SAXException {
    Source source = domHandler.marshal(element,this);
    if(contentHandlerAdapter==null)
        contentHandlerAdapter = new ContentHandlerAdaptor(this);
    try {
        getIdentityTransformer().transform(source,new SAXResult(contentHandlerAdapter));
    } catch (TransformerException e) {
        reportError(fieldName,e);
    }
}
项目:openjdk9    文件:XMLSerializer.java   
public <E> void writeDom(E element, DomHandler<E, ?> domHandler, Object parentBean, String fieldName) throws SAXException {
    Source source = domHandler.marshal(element,this);
    if(contentHandlerAdapter==null)
        contentHandlerAdapter = new ContentHandlerAdaptor(this);
    try {
        getIdentityTransformer().transform(source,new SAXResult(contentHandlerAdapter));
    } catch (TransformerException e) {
        reportError(fieldName,e);
    }
}
项目:lookaside_java-1.8.0-openjdk    文件:XMLSerializer.java   
public <E> void writeDom(E element, DomHandler<E, ?> domHandler, Object parentBean, String fieldName) throws SAXException {
    Source source = domHandler.marshal(element,this);
    if(contentHandlerAdapter==null)
        contentHandlerAdapter = new ContentHandlerAdaptor(this);
    try {
        getIdentityTransformer().transform(source,new SAXResult(contentHandlerAdapter));
    } catch (TransformerException e) {
        reportError(fieldName,e);
    }
}
项目:infobip-open-jdk-8    文件:XMLSerializer.java   
public <E> void writeDom(E element, DomHandler<E, ?> domHandler, Object parentBean, String fieldName) throws SAXException {
    Source source = domHandler.marshal(element,this);
    if(contentHandlerAdapter==null)
        contentHandlerAdapter = new ContentHandlerAdaptor(this);
    try {
        getIdentityTransformer().transform(source,new SAXResult(contentHandlerAdapter));
    } catch (TransformerException e) {
        reportError(fieldName,e);
    }
}
项目:cxf-plus    文件:XMLSerializer.java   
public <E> void writeDom(E element, DomHandler<E, ?> domHandler, Object parentBean, String fieldName) throws SAXException {
    Source source = domHandler.marshal(element,this);
    if(contentHandlerAdapter==null)
        contentHandlerAdapter = new ContentHandlerAdaptor(this);
    try {
        getIdentityTransformer().transform(source,new SAXResult(contentHandlerAdapter));
    } catch (TransformerException e) {
        reportError(fieldName,e);
    }
}
项目:OLD-OpenJDK8    文件:XMLSerializer.java   
public <E> void writeDom(E element, DomHandler<E, ?> domHandler, Object parentBean, String fieldName) throws SAXException {
    Source source = domHandler.marshal(element,this);
    if(contentHandlerAdapter==null)
        contentHandlerAdapter = new ContentHandlerAdaptor(this);
    try {
        getIdentityTransformer().transform(source,new SAXResult(contentHandlerAdapter));
    } catch (TransformerException e) {
        reportError(fieldName,e);
    }
}
项目:openjdk-icedtea7    文件:XMLSerializer.java   
public <E> void writeDom(E element, DomHandler<E, ?> domHandler, Object parentBean, String fieldName) throws SAXException {
    Source source = domHandler.marshal(element,this);
    if(contentHandlerAdapter==null)
        contentHandlerAdapter = new ContentHandlerAdaptor(this);
    try {
        getIdentityTransformer().transform(source,new SAXResult(contentHandlerAdapter));
    } catch (TransformerException e) {
        reportError(fieldName,e);
    }
}
项目:OpenJSharp    文件:DomLoader.java   
public DomLoader(DomHandler<?, ResultT> dom) {
    super(true);
    this.dom = dom;
}
项目:OpenJSharp    文件:WildcardLoader.java   
public WildcardLoader(DomHandler dom, WildcardMode mode) {
    this.dom = new DomLoader(dom);
    this.mode = mode;
}
项目:openjdk-jdk10    文件:DomLoader.java   
public DomLoader(DomHandler<?, ResultT> dom) {
    super(true);
    this.dom = dom;
}
项目:openjdk-jdk10    文件:WildcardLoader.java   
public WildcardLoader(DomHandler dom, WildcardMode mode) {
    this.dom = new DomLoader(dom);
    this.mode = mode;
}
项目:openjdk9    文件:DomLoader.java   
public DomLoader(DomHandler<?, ResultT> dom) {
    super(true);
    this.dom = dom;
}
项目:openjdk9    文件:WildcardLoader.java   
public WildcardLoader(DomHandler dom, WildcardMode mode) {
    this.dom = new DomLoader(dom);
    this.mode = mode;
}
项目:lookaside_java-1.8.0-openjdk    文件:DomLoader.java   
public DomLoader(DomHandler<?, ResultT> dom) {
    super(true);
    this.dom = dom;
}
项目:lookaside_java-1.8.0-openjdk    文件:WildcardLoader.java   
public WildcardLoader(DomHandler dom, WildcardMode mode) {
    this.dom = new DomLoader(dom);
    this.mode = mode;
}
项目:infobip-open-jdk-8    文件:DomLoader.java   
public DomLoader(DomHandler<?, ResultT> dom) {
    super(true);
    this.dom = dom;
}
项目:infobip-open-jdk-8    文件:WildcardLoader.java   
public WildcardLoader(DomHandler dom, WildcardMode mode) {
    this.dom = new DomLoader(dom);
    this.mode = mode;
}
项目:cxf-plus    文件:DomLoader.java   
public DomLoader(DomHandler<?, ResultT> dom) {
    super(true);
    this.dom = dom;
}
项目:cxf-plus    文件:WildcardLoader.java   
public WildcardLoader(DomHandler dom, WildcardMode mode) {
    this.dom = new DomLoader(dom);
    this.mode = mode;
}
项目:OLD-OpenJDK8    文件:DomLoader.java   
public DomLoader(DomHandler<?, ResultT> dom) {
    super(true);
    this.dom = dom;
}
项目:OLD-OpenJDK8    文件:WildcardLoader.java   
public WildcardLoader(DomHandler dom, WildcardMode mode) {
    this.dom = new DomLoader(dom);
    this.mode = mode;
}
项目:openjdk-icedtea7    文件:DomLoader.java   
public DomLoader(DomHandler<?, ResultT> dom) {
    super(true);
    this.dom = dom;
}
项目:openjdk-icedtea7    文件:WildcardLoader.java   
public WildcardLoader(DomHandler dom, WildcardMode mode) {
    this.dom = new DomLoader(dom);
    this.mode = mode;
}