diff --git a/nx01-warp-manifestor/src/main/java/love/distributedrebirth/nx01/warp/manifestor/scopic/iomf5/ScopicManifest5ContentParser.java b/nx01-warp-manifestor/src/main/java/love/distributedrebirth/nx01/warp/manifestor/scopic/iomf5/ScopicManifest5ContentParser.java index a83b8c6..5993354 100644 --- a/nx01-warp-manifestor/src/main/java/love/distributedrebirth/nx01/warp/manifestor/scopic/iomf5/ScopicManifest5ContentParser.java +++ b/nx01-warp-manifestor/src/main/java/love/distributedrebirth/nx01/warp/manifestor/scopic/iomf5/ScopicManifest5ContentParser.java @@ -92,18 +92,18 @@ public class ScopicManifest5ContentParser extends ContentWriterAdapter { @Override public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException { - if (ScopicManifest5FrameElement.ATTRIBUTE.name().equals(localName)) { - attrName = attributes.getValue(XMLConstants.NULL_NS_URI, ScopicManifest5FrameElement.ATTRIBUTE_NAME); + if (ScopicManifest5FrameTag.ATTRIBUTE.name().equals(localName)) { + attrName = attributes.getValue(XMLConstants.NULL_NS_URI, ScopicManifest5FrameTag.ATTRIBUTE_NAME); return; } - if (ScopicManifest5FrameElement.SECTION.name().equals(localName)) { + if (ScopicManifest5FrameTag.SECTION.name().equals(localName)) { attrMain = false; - String sectionName = attributes.getValue(XMLConstants.NULL_NS_URI, ScopicManifest5FrameElement.SECTION_NAME); + String sectionName = attributes.getValue(XMLConstants.NULL_NS_URI, ScopicManifest5FrameTag.SECTION_NAME); handler.strobeSectionHeader(sectionName); return; } - if (ScopicManifest5FrameElement.MANIFEST.name().equals(localName)) { - String version = attributes.getValue(XMLConstants.NULL_NS_URI, ScopicManifest5FrameElement.MANIFEST_VERSION); + if (ScopicManifest5FrameTag.MANIFEST.name().equals(localName)) { + String version = attributes.getValue(XMLConstants.NULL_NS_URI, ScopicManifest5FrameTag.MANIFEST_VERSION); handler.strobeManifestDeclaration(version); return; } @@ -112,7 +112,7 @@ public class ScopicManifest5ContentParser extends ContentWriterAdapter { @Override public void endElement(String uri, String localName, String qName) throws SAXException { - if (ScopicManifest5FrameElement.ATTRIBUTE.name().equals(localName)) { + if (ScopicManifest5FrameTag.ATTRIBUTE.name().equals(localName)) { if (attrMain) { handler.strobeMainAttribute(attrName, attrValue.toString()); } else { @@ -121,7 +121,7 @@ public class ScopicManifest5ContentParser extends ContentWriterAdapter { attrValue = new StringBuilder(); return; } - if (ScopicManifest5FrameElement.SECTION.name().equals(localName)) { + if (ScopicManifest5FrameTag.SECTION.name().equals(localName)) { attrMain = true; // Support normal xml tree layout return; } diff --git a/nx01-warp-manifestor/src/main/java/love/distributedrebirth/nx01/warp/manifestor/scopic/iomf5/ScopicManifest5ContentWriter.java b/nx01-warp-manifestor/src/main/java/love/distributedrebirth/nx01/warp/manifestor/scopic/iomf5/ScopicManifest5ContentWriter.java index 08fcf5a..bba1720 100644 --- a/nx01-warp-manifestor/src/main/java/love/distributedrebirth/nx01/warp/manifestor/scopic/iomf5/ScopicManifest5ContentWriter.java +++ b/nx01-warp-manifestor/src/main/java/love/distributedrebirth/nx01/warp/manifestor/scopic/iomf5/ScopicManifest5ContentWriter.java @@ -45,7 +45,7 @@ import love.distributedrebirth.nx01.warp.manifestor.scopic.iomf.ScopicManifestCo /// @version ©Δ∞ 仙上主天 public class ScopicManifest5ContentWriter implements ScopicManifestContent { - private final ContentWriterTagWrapper writer; + private final ContentWriterTagWrapper writer; private final ScopicManifestDuplicateDetector duplicateDetector; private boolean openSection = false; @@ -70,8 +70,8 @@ public class ScopicManifest5ContentWriter implements ScopicManifestContent