/** * <b>DOM</b>: Implements {@link * org.w3c.dom.Document#createProcessingInstruction(String,String)}. * @return a {@link StyleSheetProcessingInstruction} if target is * "xml-stylesheet" or a GenericProcessingInstruction otherwise. */ public ProcessingInstruction createProcessingInstruction(String target, String data) throws DOMException { return new GenericProcessingInstruction(target, data, this); }
/** * Returns a new uninitialized instance of this object's class. */ protected Node newNode() { return new GenericProcessingInstruction(); } }
/** * <b>DOM</b>: Implements {@link * org.w3c.dom.Document#createProcessingInstruction(String,String)}. * @return a {@link StyleSheetProcessingInstruction} if target is * "xml-stylesheet" or a GenericProcessingInstruction otherwise. */ public ProcessingInstruction createProcessingInstruction(String target, String data) throws DOMException { return new GenericProcessingInstruction(target, data, this); }
/** * Returns a new uninitialized instance of this object's class. */ protected Node newNode() { return new GenericProcessingInstruction(); } }
/** * Returns a new uninitialized instance of this object's class. */ protected Node newNode() { return new GenericProcessingInstruction(); } }
/** * <b>DOM</b>: Implements {@link * org.w3c.dom.Document#createProcessingInstruction(String,String)}. * @return a {@link StyleSheetProcessingInstruction} if target is * "xml-stylesheet" or a GenericProcessingInstruction otherwise. */ public ProcessingInstruction createProcessingInstruction(String target, String data) throws DOMException { return new GenericProcessingInstruction(target, data, this); }
/** * <b>DOM</b>: Implements {@link * Document#createProcessingInstruction(String,String)}. * @return a SVGStyleSheetProcessingInstruction if target is * "xml-stylesheet" or a GenericProcessingInstruction otherwise. */ public ProcessingInstruction createProcessingInstruction(String target, String data) throws DOMException { if ("xml-stylesheet".equals(target)) { return new SVGStyleSheetProcessingInstruction (data, this, (StyleSheetFactory)getImplementation()); } return new GenericProcessingInstruction(target, data, this); }
/** * <b>DOM</b>: Implements {@link * Document#createProcessingInstruction(String,String)}. * @return a SVGStyleSheetProcessingInstruction if target is * "xml-stylesheet" or a GenericProcessingInstruction otherwise. */ public ProcessingInstruction createProcessingInstruction(String target, String data) throws DOMException { if ("xml-stylesheet".equals(target)) { return new SVGStyleSheetProcessingInstruction (data, this, (StyleSheetFactory)getImplementation()); } return new GenericProcessingInstruction(target, data, this); }
/** * <b>DOM</b>: Implements {@link * Document#createProcessingInstruction(String,String)}. * @return a SVGStyleSheetProcessingInstruction if target is * "xml-stylesheet" or a GenericProcessingInstruction otherwise. */ public ProcessingInstruction createProcessingInstruction(String target, String data) throws DOMException { if ("xml-stylesheet".equals(target)) { return new SVGStyleSheetProcessingInstruction (data, this, (StyleSheetFactory)getImplementation()); } return new GenericProcessingInstruction(target, data, this); }