protected XMLWriter.ProcessingInstruction[] createPI(Class<?> repositoryClass) { //TODO We should remove this processing instruction, but currently old clients rely on this. See bug 210450. return new XMLWriter.ProcessingInstruction[] {XMLWriter.ProcessingInstruction.makeTargetVersionInstruction(XMLConstants.PI_REPOSITORY_TARGET, XMLConstants.CURRENT_VERSION)}; }
protected XMLWriter.ProcessingInstruction[] createPI(Class<?> repositoryClass) { //TODO We should remove this processing instruction, but currently old clients rely on this. See bug 210450. return new XMLWriter.ProcessingInstruction[] {XMLWriter.ProcessingInstruction.makeTargetVersionInstruction(XMLConstants.PI_REPOSITORY_TARGET, XMLConstants.CURRENT_VERSION)}; }
public Writer(OutputStream output) throws IOException { super(output, new ProcessingInstruction[] {ProcessingInstruction.makeTargetVersionInstruction(PROFILE_TARGET, ProfileXMLConstants.CURRENT_VERSION)}); } }
protected XMLWriter.ProcessingInstruction[] createPI(Class<?> repositoryClass) { //TODO We should remove this processing instruction, but currently old clients rely on this. See bug 210450. return new XMLWriter.ProcessingInstruction[] {XMLWriter.ProcessingInstruction.makeTargetVersionInstruction(XMLConstants.PI_REPOSITORY_TARGET, XMLConstants.CURRENT_VERSION)}; }
public CompositeWriter(OutputStream output, String type) throws UnsupportedEncodingException { super(output, new XMLWriter.ProcessingInstruction[] {XMLWriter.ProcessingInstruction.makeTargetVersionInstruction(type, CURRENT_VERSION)}); // TODO: add a processing instruction for the metadata version }
public Writer(OutputStream output) { super(output, new ProcessingInstruction[] {ProcessingInstruction.makeTargetVersionInstruction(PROFILE_TARGET, ProfileXMLConstants.CURRENT_VERSION)}); } }
public CompositeWriter(OutputStream output, String type) throws UnsupportedEncodingException { super(output, new XMLWriter.ProcessingInstruction[] {XMLWriter.ProcessingInstruction.makeTargetVersionInstruction(type, CURRENT_VERSION)}); // TODO: add a processing instruction for the metadata version }