private String getEffectiveNamespaceFor(XmlElementRef r) { String nsUri = r.namespace(); XmlSchema xs = reader().getPackageAnnotation( XmlSchema.class, parent.getClazz(), this ); if(xs!=null && xs.attributeFormDefault()== XmlNsForm.QUALIFIED) { // JAX-RPC doesn't want the default namespace URI swapping to take effect to // local "unqualified" elements. UGLY. if(nsUri.length()==0) nsUri = parent.builder.defaultNsUri; } return nsUri; }
public ReferencePropertyInfoImpl( ClassInfoImpl<T,C,F,M> classInfo, PropertySeed<T,C,F,M> seed) { super(classInfo, seed); isMixed = seed.readAnnotation(XmlMixed.class) != null; XmlAnyElement xae = seed.readAnnotation(XmlAnyElement.class); if(xae==null) { wildcard = null; domHandler = null; } else { wildcard = xae.lax()?WildcardMode.LAX:WildcardMode.SKIP; domHandler = nav().asDecl(reader().getClassValue(xae,"value")); } }
private String getEffectiveNamespaceFor(XmlElementRef r) { String nsUri = r.namespace(); XmlSchema xs = reader().getPackageAnnotation( XmlSchema.class, parent.getClazz(), this ); if(xs!=null && xs.attributeFormDefault()== XmlNsForm.QUALIFIED) { // JAX-RPC doesn't want the default namespace URI swapping to take effect to // local "unqualified" elements. UGLY. if(nsUri.length()==0) nsUri = parent.builder.defaultNsUri; } return nsUri; }
public ReferencePropertyInfoImpl( ClassInfoImpl<T,C,F,M> classInfo, PropertySeed<T,C,F,M> seed) { super(classInfo, seed); isMixed = seed.readAnnotation(XmlMixed.class) != null; XmlAnyElement xae = seed.readAnnotation(XmlAnyElement.class); if(xae==null) { wildcard = null; domHandler = null; } else { wildcard = xae.lax()?WildcardMode.LAX:WildcardMode.SKIP; domHandler = nav().asDecl(reader().getClassValue(xae,"value")); } }
private String getEffectiveNamespaceFor(XmlElementRef r) { String nsUri = r.namespace(); XmlSchema xs = reader().getPackageAnnotation( XmlSchema.class, parent.getClazz(), this ); if(xs!=null && xs.attributeFormDefault()== XmlNsForm.QUALIFIED) { // JAX-RPC doesn't want the default namespace URI swapping to take effect to // local "unqualified" elements. UGLY. if(nsUri.length()==0) nsUri = parent.builder.defaultNsUri; } return nsUri; }
private String getEffectiveNamespaceFor(XmlElementRef r) { String nsUri = r.namespace(); XmlSchema xs = reader().getPackageAnnotation( XmlSchema.class, parent.getClazz(), this ); if(xs!=null && xs.attributeFormDefault()== XmlNsForm.QUALIFIED) { // JAX-RPC doesn't want the default namespace URI swapping to take effect to // local "unqualified" elements. UGLY. if(nsUri.length()==0) nsUri = parent.builder.defaultNsUri; } return nsUri; }
public ReferencePropertyInfoImpl( ClassInfoImpl<T,C,F,M> classInfo, PropertySeed<T,C,F,M> seed) { super(classInfo, seed); isMixed = seed.readAnnotation(XmlMixed.class) != null; XmlAnyElement xae = seed.readAnnotation(XmlAnyElement.class); if(xae==null) { wildcard = null; domHandler = null; } else { wildcard = xae.lax()?WildcardMode.LAX:WildcardMode.SKIP; domHandler = nav().asDecl(reader().getClassValue(xae,"value")); } }
public ReferencePropertyInfoImpl( ClassInfoImpl<T,C,F,M> classInfo, PropertySeed<T,C,F,M> seed) { super(classInfo, seed); isMixed = seed.readAnnotation(XmlMixed.class) != null; XmlAnyElement xae = seed.readAnnotation(XmlAnyElement.class); if(xae==null) { wildcard = null; domHandler = null; } else { wildcard = xae.lax()?WildcardMode.LAX:WildcardMode.SKIP; domHandler = nav().asDecl(reader().getClassValue(xae,"value")); } }