|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.mojo.jaxb2.helpers.ChangeFilenameProcessor
public class ChangeFilenameProcessor
NodeProcessor which alters the filename for generated XML schema files. The ChangeNamespacePrefixProcessor alters the following:
| Constructor Summary | |
|---|---|
ChangeFilenameProcessor(Map<String,String> namespaceUriToNewFilenameMap)
Creates a new ChangeFilenameProcessor using the provided map relating namespace URIs to desired new filenames. |
|
| Method Summary | |
|---|---|
boolean |
accept(Node aNode)
Defines if this visitor should process the provided node. |
void |
process(Node aNode)
Processes the provided DOM Node. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChangeFilenameProcessor(Map<String,String> namespaceUriToNewFilenameMap)
namespaceUriToNewFilenameMap - A map relating namespace URIs [key] to
new/desired schema filenames [value].| Method Detail |
|---|
public boolean accept(Node aNode)
accept in interface NodeProcessoraNode - The DOM node to process.
true if the provided Node should be processed by this NodeProcessor.public void process(Node aNode)
process in interface NodeProcessoraNode - The DOM Node to process.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||