/** * Called when parsing character is complete. */ public void addChild(Relationships parent, EjbRelation relation, UnmarshallingContext navigator, String namespaceURI, String localName) { parent.addEjbRelation(relation); }
/** * Called when parsing of a new element started. */ public Object newChild(EjbJarDD dd, UnmarshallingContext navigator, String namespaceURI, String localName, Attributes attrs) { Object child = null; if (localName.equals("enterprise-beans")) { child = new EnterpriseBeans(); } if (localName.equals("interceptors")) { child = new Interceptors(); } else if (localName.equals("relationships")) { child = new Relationships(); } else if (localName.equals("assembly-descriptor")) { child = new AssemblyDescriptor(); } return child; }
/** * Called when parsing of a new element started. */ public Object newChild(EjbJarDD dd, UnmarshallingContext navigator, String namespaceURI, String localName, Attributes attrs) { Object child = null; if (localName.equals("enterprise-beans")) { child = new EnterpriseBeans(); } if (localName.equals("interceptors")) { child = new Interceptors(); } else if (localName.equals("relationships")) { child = new Relationships(); } else if (localName.equals("assembly-descriptor")) { child = new AssemblyDescriptor(); } return child; }
/** * Called when parsing character is complete. */ public void addChild(Relationships parent, EjbRelation relation, UnmarshallingContext navigator, String namespaceURI, String localName) { parent.addEjbRelation(relation); }