Searched refs:decl (Results 1 - 25 of 108) sorted by relevance

12345

/openjdk10/jaxws/src/jdk.xml.bind/share/classes/com/sun/tools/internal/xjc/reader/xmlschema/
H A DGElementImpl.java53 public final XSElementDecl decl; field in class:GElementImpl
55 public GElementImpl(QName tagName, XSElementDecl decl) { argument
57 this.decl = decl;
H A DRawTypeSetBuilder.java122 public void modelGroupDecl(XSModelGroupDecl decl) { argument
123 modelGroup(decl.getModelGroup());
131 public void elementDecl(XSElementDecl decl) { argument
133 QName n = BGMBuilder.getName(decl);
135 CElement elementBean = Ring.get(ClassSelector.class).bindToType(decl,null);
137 refs.add(new XmlTypeRef(decl));
141 refs.add(new CClassRef(decl,(CClass)elementBean));
143 refs.add(new CElementInfoRef(decl,(CElementInfo)elementBean));
201 public final XSElementDecl decl; field in class:RawTypeSetBuilder.CClassRef
203 CClassRef(XSElementDecl decl, CClas argument
238 public final XSElementDecl decl; field in class:RawTypeSetBuilder.CElementInfoRef
240 CElementInfoRef(XSElementDecl decl, CElementInfo target) argument
304 private final XSElementDecl decl; field in class:RawTypeSetBuilder.XmlTypeRef
307 XmlTypeRef(XSElementDecl decl) argument
[all...]
H A DDefaultClassBinder.java91 public CElement attGroupDecl(XSAttGroupDecl decl) { argument
92 return allow(decl,decl.getName());
95 public CElement attributeDecl(XSAttributeDecl decl) { argument
96 return allow(decl,decl.getName());
103 public CElement modelGroupDecl(XSModelGroupDecl decl) { argument
195 * and unified with its parent element decl to form a single class.
197 private boolean isCollapsable(XSElementDecl decl) { argument
198 XSType type = decl
262 elementDecl(XSElementDecl decl) argument
352 facet(XSFacet decl) argument
[all...]
H A DUnusedCustomizationChecker.java112 for( BIDeclaration decl : builder.getBindInfo(c).getDecls() )
113 check(decl, c);
133 private void check(BIDeclaration decl, XSComponent c) { argument
134 if( !decl.isAcknowledged() ) {
136 decl.getLocation(),
138 decl.getName().getLocalPart()
145 decl.markAsAcknowledged();
147 for (BIDeclaration d : decl.getChildren())
154 public void attGroupDecl(XSAttGroupDecl decl) { argument
155 if(check(decl))
159 attributeDecl(XSAttributeDecl decl) argument
205 modelGroupDecl(XSModelGroupDecl decl) argument
217 elementDecl(XSElementDecl decl) argument
[all...]
/openjdk10/jaxws/src/jdk.xml.bind/share/classes/com/sun/xml/internal/xsom/util/
H A DComponentNameFunction.java68 public String attGroupDecl(XSAttGroupDecl decl) { argument
69 String name = decl.getName();
71 return name + " " + nameGetter.attGroupDecl( decl );
77 public String attributeDecl(XSAttributeDecl decl) { argument
78 String name = decl.getName();
80 return name + " " + nameGetter.attributeDecl( decl );
161 public String modelGroupDecl(XSModelGroupDecl decl) { argument
162 String name = decl.getName();
164 return name + " " + nameGetter.modelGroupDecl( decl );
178 public String elementDecl(XSElementDecl decl) { argument
184 identityConstraint(XSIdentityConstraint decl) argument
[all...]
H A DXSFunctionFilter.java73 public T attGroupDecl(XSAttGroupDecl decl) { argument
74 return core.attGroupDecl(decl);
77 public T attributeDecl(XSAttributeDecl decl) { argument
78 return core.attributeDecl(decl);
117 public T modelGroupDecl(XSModelGroupDecl decl) { argument
118 return core.modelGroupDecl(decl);
125 public T elementDecl(XSElementDecl decl) { argument
126 return core.elementDecl(decl);
129 public T identityConstraint(XSIdentityConstraint decl) { argument
130 return core.identityConstraint(decl);
[all...]
/openjdk10/jdk/src/java.base/share/classes/sun/reflect/annotation/
H A DTypeAnnotationParser.java57 * @param decl the declaration this type annotation is on
58 * @param container the Class this type annotation is on (may be the same as decl)
64 AnnotatedElement decl,
69 cp, decl, container);
82 decl);
93 * @param decl the declaration this type annotation is on
94 * @param container the Class this type annotation is on (may be the same as decl)
100 AnnotatedElement decl,
111 cp, decl, container);
130 if (decl instanceo
62 buildAnnotatedType(byte[] rawAnnotations, ConstantPool cp, AnnotatedElement decl, Class<?> container, Type type, TypeAnnotationTarget filter) argument
98 buildAnnotatedTypes(byte[] rawAnnotations, ConstantPool cp, AnnotatedElement decl, Class<?> container, Type[] types, TypeAnnotationTarget filter) argument
175 buildAnnotatedSuperclass(byte[] rawAnnotations, ConstantPool cp, Class<?> decl) argument
197 buildAnnotatedInterfaces(byte[] rawAnnotations, ConstantPool cp, Class<?> decl) argument
253 parseAnnotatedBounds(Type[] bounds, D decl, int typeVarIndex) argument
259 parseAnnotatedBounds(Type[] bounds, D decl, int typeVarIndex, LocationInfo loc) argument
308 fetchBounds(D decl) argument
328 parseAllTypeAnnotations(AnnotatedElement decl) argument
[all...]
H A DAnnotatedTypeFactory.java46 * @param decl the declaration having the type use this AnnotatedType
53 AnnotatedElement decl) {
62 decl);
68 decl);
74 decl);
80 decl);
86 decl);
128 private final AnnotatedElement decl; field in class:AnnotatedTypeFactory.AnnotatedTypeBaseImpl
135 AnnotatedElement decl) {
137 this.decl
49 buildAnnotatedType(Type type, LocationInfo currentLoc, TypeAnnotation[] actualTypeAnnos, TypeAnnotation[] allOnSameTarget, AnnotatedElement decl) argument
133 AnnotatedTypeBaseImpl(Type type, LocationInfo location, TypeAnnotation[] actualTypeAnnotations, TypeAnnotation[] allOnSameTargetTypeAnnotations, AnnotatedElement decl) argument
218 AnnotatedArrayTypeImpl(Type type, LocationInfo location, TypeAnnotation[] actualTypeAnnotations, TypeAnnotation[] allOnSameTargetTypeAnnotations, AnnotatedElement decl) argument
250 AnnotatedTypeVariableImpl(TypeVariable<?> type, LocationInfo location, TypeAnnotation[] actualTypeAnnotations, TypeAnnotation[] allOnSameTargetTypeAnnotations, AnnotatedElement decl) argument
273 AnnotatedParameterizedTypeImpl(ParameterizedType type, LocationInfo location, TypeAnnotation[] actualTypeAnnotations, TypeAnnotation[] allOnSameTargetTypeAnnotations, AnnotatedElement decl) argument
323 AnnotatedWildcardTypeImpl(WildcardType type, LocationInfo location, TypeAnnotation[] actualTypeAnnotations, TypeAnnotation[] allOnSameTargetTypeAnnotations, AnnotatedElement decl) argument
[all...]
/openjdk10/jdk/src/java.base/share/classes/sun/reflect/generics/factory/
H A DCoreReflectionFactory.java48 private final GenericDeclaration decl; field in class:CoreReflectionFactory
52 decl = d;
56 private GenericDeclaration getDecl(){ return decl;}
62 if (decl instanceof Class) {return ((Class) decl).getClassLoader();}
63 if (decl instanceof Method) {
64 return ((Method) decl).getDeclaringClass().getClassLoader();
66 assert decl instanceof Constructor : "Constructor expected";
67 return ((Constructor) decl).getDeclaringClass().getClassLoader();
/openjdk10/jaxws/src/jdk.xml.bind/share/classes/com/sun/tools/internal/xjc/model/
H A DCTypeRef.java69 public CTypeRef(CNonElement type, XSElementDecl decl) { argument
70 this(type, BGMBuilder.getName(decl),getSimpleTypeName(decl), decl.isNillable(), decl.getDefaultValue() );
77 public static QName getSimpleTypeName(XSElementDecl decl) { argument
78 if(decl==null || !decl.getType().isSimpleType())
80 return resolveSimpleTypeName(decl.getType());
H A DCClassRef.java55 * @param decl
58 public CClassRef(Model model, XSComponent source, BIClass decl, CCustomizations customizations) { argument
59 super(model, source, decl.getLocation(), customizations);
60 fullyQualifiedClassName = decl.getExistingClassRef();
66 * @param decl
69 public CClassRef(Model model, XSComponent source, BIEnum decl, CCustomizations customizations) { argument
70 super(model, source, decl.getLocation(), customizations);
71 fullyQualifiedClassName = decl.ref;
/openjdk10/jdk/test/java/lang/annotation/repeatingAnnotations/
H A DOrderUnitTest.java43 Annotation[] decl = e.getDeclaredAnnotations();
46 if (decl[0] instanceof Foo != declByType[0].isDirect() ||
47 decl[1] instanceof Foo != declByType[1].isDirect()) {
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/xs/
H A DSchemaGrammar.java86 // global decls: map from decl name to decl object
95 // extended global decls: map from schema location + decl name to decl object
412 public void addGlobalAttributeDecl(XSAttributeDecl decl) { argument
415 public void addGlobalAttributeDecl(XSAttributeDecl decl, String location) { argument
418 public void addGlobalAttributeGroupDecl(XSAttributeGroupDecl decl) { argument
421 public void addGlobalAttributeGroupDecl(XSAttributeGroupDecl decl, String location) { argument
424 public void addGlobalElementDecl(XSElementDecl decl) { argument
427 public void addGlobalElementDecl(XSElementDecl decl, Strin argument
430 addGlobalElementDeclAll(XSElementDecl decl) argument
433 addGlobalGroupDecl(XSGroupDecl decl) argument
436 addGlobalGroupDecl(XSGroupDecl decl, String location) argument
439 addGlobalNotationDecl(XSNotationDecl decl) argument
442 addGlobalNotationDecl(XSNotationDecl decl, String location) argument
445 addGlobalTypeDecl(XSTypeDefinition decl) argument
448 addGlobalTypeDecl(XSTypeDefinition decl, String location) argument
451 addGlobalComplexTypeDecl(XSComplexTypeDecl decl) argument
454 addGlobalComplexTypeDecl(XSComplexTypeDecl decl, String location) argument
457 addGlobalSimpleTypeDecl(XSSimpleType decl) argument
460 addGlobalSimpleTypeDecl(XSSimpleType decl, String location) argument
463 addComplexTypeDecl(XSComplexTypeDecl decl, SimpleLocator locator) argument
663 addGlobalAttributeDecl(XSAttributeDecl decl) argument
666 addGlobalAttributeDecl(XSAttributeGroupDecl decl, String location) argument
669 addGlobalAttributeGroupDecl(XSAttributeGroupDecl decl) argument
672 addGlobalAttributeGroupDecl(XSAttributeGroupDecl decl, String location) argument
675 addGlobalElementDecl(XSElementDecl decl) argument
678 addGlobalElementDecl(XSElementDecl decl, String location) argument
681 addGlobalElementDeclAll(XSElementDecl decl) argument
684 addGlobalGroupDecl(XSGroupDecl decl) argument
687 addGlobalGroupDecl(XSGroupDecl decl, String location) argument
690 addGlobalNotationDecl(XSNotationDecl decl) argument
693 addGlobalNotationDecl(XSNotationDecl decl, String location) argument
696 addGlobalTypeDecl(XSTypeDefinition decl) argument
699 addGlobalTypeDecl(XSTypeDefinition decl, String location) argument
702 addGlobalComplexTypeDecl(XSComplexTypeDecl decl) argument
705 addGlobalComplexTypeDecl(XSComplexTypeDecl decl, String location) argument
708 addGlobalSimpleTypeDecl(XSSimpleType decl) argument
711 addGlobalSimpleTypeDecl(XSSimpleType decl, String location) argument
714 addComplexTypeDecl(XSComplexTypeDecl decl, SimpleLocator locator) argument
824 addGlobalAttributeDecl(XSAttributeDecl decl) argument
829 addGlobalAttributeDecl(XSAttributeDecl decl, String location) argument
839 addGlobalAttributeGroupDecl(XSAttributeGroupDecl decl) argument
844 addGlobalAttributeGroupDecl(XSAttributeGroupDecl decl, String location) argument
854 addGlobalElementDeclAll(XSElementDecl decl) argument
867 addGlobalElementDecl(XSElementDecl decl) argument
872 addGlobalElementDecl(XSElementDecl decl, String location) argument
882 addGlobalGroupDecl(XSGroupDecl decl) argument
887 addGlobalGroupDecl(XSGroupDecl decl, String location) argument
897 addGlobalNotationDecl(XSNotationDecl decl) argument
902 addGlobalNotationDecl(XSNotationDecl decl, String location) argument
912 addGlobalTypeDecl(XSTypeDefinition decl) argument
922 addGlobalTypeDecl(XSTypeDefinition decl, String location) argument
937 addGlobalComplexTypeDecl(XSComplexTypeDecl decl) argument
942 addGlobalComplexTypeDecl(XSComplexTypeDecl decl, String location) argument
952 addGlobalSimpleTypeDecl(XSSimpleType decl) argument
959 addGlobalSimpleTypeDecl(XSSimpleType decl, String location) argument
969 addIDConstraintDecl(XSElementDecl elmDecl, IdentityConstraint decl) argument
974 addIDConstraintDecl(XSElementDecl elmDecl, IdentityConstraint decl, String location) argument
1084 addComplexTypeDecl(XSComplexTypeDecl decl, SimpleLocator locator) argument
[all...]
H A DXSLoaderImpl.java237 XSElementDecl decl = (XSElementDecl) map.item(i);
238 if (cachedGrammar.getGlobalElementDecl(decl.getName()) == null) {
239 cachedGrammar.addGlobalElementDecl(decl);
247 XSAttributeDecl decl = (XSAttributeDecl) map.item(i);
248 if (cachedGrammar.getGlobalAttributeDecl(decl.getName()) == null) {
249 cachedGrammar.addGlobalAttributeDecl(decl);
257 XSTypeDefinition decl = (XSTypeDefinition) map.item(i);
258 if (cachedGrammar.getGlobalTypeDecl(decl.getName()) == null) {
259 cachedGrammar.addGlobalTypeDecl(decl);
267 XSAttributeGroupDecl decl
[all...]
/openjdk10/jaxws/src/jdk.xml.bind/share/classes/com/sun/xml/internal/xsom/visitor/
H A DXSTermFunction.java42 T modelGroupDecl( XSModelGroupDecl decl );
44 T elementDecl( XSElementDecl decl );
H A DXSTermVisitor.java41 void modelGroupDecl( XSModelGroupDecl decl );
43 void elementDecl( XSElementDecl decl );
H A DXSTermFunctionWithParam.java42 T modelGroupDecl( XSModelGroupDecl decl, P param ); argument
44 T elementDecl( XSElementDecl decl, P param ); argument
H A DXSFunction.java50 T attGroupDecl( XSAttGroupDecl decl );
51 T attributeDecl( XSAttributeDecl decl );
58 T identityConstraint(XSIdentityConstraint decl); argument
H A DXSVisitor.java46 void attGroupDecl( XSAttGroupDecl decl );
47 void attributeDecl( XSAttributeDecl decl );
54 void identityConstraint( XSIdentityConstraint decl); argument
/openjdk10/jaxws/src/jdk.xml.bind/share/classes/com/sun/xml/internal/xsom/impl/util/
H A DSchemaWriter.java166 public void attGroupDecl( XSAttGroupDecl decl ) {
169 println(MessageFormat.format("<attGroup name=\"{0}\">", decl.getName()));
174 itr = decl.iterateAttGroups();
178 itr = decl.iterateDeclaredAttributeUses();
186 public void dumpRef( XSAttGroupDecl decl ) {
187 println(MessageFormat.format("<attGroup ref=\"'{'{0}'}'{1}\"/>", decl.getTargetNamespace(), decl.getName()));
191 XSAttributeDecl decl = use.getDecl();
202 if(decl.isLocal()) {
204 dump(decl,additionalAtt
216 dump( XSAttributeDecl decl, String additionalAtts ) argument
455 elementDecl( XSElementDecl decl, String extraAtts ) argument
598 identityConstraint(XSIdentityConstraint decl) argument
[all...]
H A DSchemaTreeTraverser.java427 public void attGroupDecl(XSAttGroupDecl decl) { argument
429 + decl.getName() + "\"", decl.getLocator());
435 itr = decl.iterateAttGroups();
440 itr = decl.iterateDeclaredAttributeUses();
451 * @param decl Attribute group decalration reference.
453 public void dumpRef(XSAttGroupDecl decl) { argument
455 + decl.getTargetNamespace() + "}" + decl.getName() + "\"", decl
498 attributeDecl(XSAttributeDecl decl) argument
508 dump(XSAttributeDecl decl, String additionalAtts) argument
825 elementDecl(XSElementDecl decl) argument
835 elementDecl(XSElementDecl decl, String extraAtts) argument
863 modelGroupDecl(XSModelGroupDecl decl) argument
[all...]
/openjdk10/jaxws/src/jdk.xml.bind/share/classes/com/sun/xml/internal/xsom/impl/scd/
H A DAxis.java111 public Iterator<XSComponent> elementDecl(XSElementDecl decl) {
112 XSComplexType ct = decl.getType().asComplexType();
121 public Iterator<XSComponent> modelGroupDecl(XSModelGroupDecl decl) {
122 return descendants(decl.getModelGroup());
198 public Iterator<XSComponent> elementDecl(XSElementDecl decl) {
199 if(visited.add(decl))
200 return ret(decl, iterator(decl.getType()) );
226 public Iterator<XSComponent> modelGroupDecl(XSModelGroupDecl decl) {
227 if(visited.add(decl))
559 modelGroupDecl(XSModelGroupDecl decl) argument
[all...]
/openjdk10/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/messaging/saaj/util/
H A DXMLDeclarationParser.java89 String decl = xmlDeclStr.toString();
93 int xmlIndex = decl.indexOf(utf16Decl);
97 xmlIndex = decl.indexOf("<?xml");
103 // no XML decl
105 m_pushbackReader.unread(decl.toCharArray(), 0, len);
111 xmlDecl = new String(decl.getBytes(), "utf-16");
114 xmlDecl = decl;
/openjdk10/jdk/src/java.base/share/classes/sun/reflect/generics/scope/
H A DAbstractScope.java51 * @param decl - A generic declaration whose scope the newly
54 protected AbstractScope(D decl){ recvr = decl;} argument
/openjdk10/jaxws/src/jdk.xml.bind/share/classes/com/sun/tools/internal/xjc/reader/dtd/
H A DTDTDReader.java214 for( BIInterface decl : bindInfo.interfaces() ) {
216 bindInfo.getTargetPackage(), decl.name(), copyLocator() );
217 decls.put(decl,intf);
218 fromName.put(decl.name(),new InterfaceAcceptor() {
236 BIInterface decl = e.getKey();
239 for (String member : decl.members()) {
244 error(decl.getSourceLocation(),
276 for( BIElement decl: bindInfo.elements() ) {
277 Element e = elements.get(decl.name());
279 error(decl
[all...]

Completed in 268 milliseconds

12345